From 7c4f4f9bedf3f1cf0566f4cad2f4eedd59075a57 Mon Sep 17 00:00:00 2001 From: Mateusz Kaduk Date: Thu, 28 Feb 2008 22:35:58 +0000 Subject: Fixed chat input stealing focus from quitDialog --- src/game.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/game.cpp') 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()) -- cgit v1.2.3-70-g09d2