summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index fcbc5aba..039a1916 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -540,10 +540,11 @@ void Game::handleInput()
if (!quitDialog)
{
quitDialog = new QuitDialog(&done, &quitDialog);
+ quitDialog->requestMoveToTop();
}
else
{
- quitDialog->requestMoveToTop();
+ quitDialog->action(gcn::ActionEvent(NULL, "cancel"));
}
break;