diff options
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index 52d70bc0..553f80c3 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -525,8 +525,12 @@ void Game::handleInput() exitConfirm = new ConfirmDialog( "Quit", "Are you sure you want to quit?"); exitConfirm->addActionListener(&exitListener); + exitConfirm->requestMoveToTop(); + } + else + { + exitConfirm->action(gcn::ActionEvent(NULL, "no")); } - exitConfirm->requestMoveToTop(); break; default: |