summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorMateusz Kaduk <mateusz.kaduk@gmail.com>2008-02-28 22:35:58 +0000
committerMateusz Kaduk <mateusz.kaduk@gmail.com>2008-02-28 22:35:58 +0000
commit7c4f4f9bedf3f1cf0566f4cad2f4eedd59075a57 (patch)
treedd95e05170bad2d952e4943e80014239c8f22e20 /src/game.cpp
parent5bdf6f3f633bbdd88a3c4fdde8bdfef87e0e93e1 (diff)
downloadmana-7c4f4f9bedf3f1cf0566f4cad2f4eedd59075a57.tar.gz
mana-7c4f4f9bedf3f1cf0566f4cad2f4eedd59075a57.tar.bz2
mana-7c4f4f9bedf3f1cf0566f4cad2f4eedd59075a57.tar.xz
mana-7c4f4f9bedf3f1cf0566f4cad2f4eedd59075a57.zip
Fixed chat input stealing focus from quitDialog
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp4
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())