diff options
-rw-r--r-- | src/game.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 24eeb88d..72350122 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -509,6 +509,10 @@ void Game::handleInput() { break; } + + // Don not focus chat input when quit dialog is active + if(quitDialog != NULL && quitDialog->isVisible()) + break; // Close the Browser if opened if (helpWindow->isVisible()) |