diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2008-03-09 15:35:00 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2008-03-09 15:35:00 +0000 |
commit | 91176f564ae9462d50819f033756cb6e32b113ac (patch) | |
tree | b6b4579ab02e37a570c8209510e85283563310fd /src/game.cpp | |
parent | 9085123bab570e32ddec9dda6ecfae40a3ac25f1 (diff) | |
download | mana-91176f564ae9462d50819f033756cb6e32b113ac.tar.gz mana-91176f564ae9462d50819f033756cb6e32b113ac.tar.bz2 mana-91176f564ae9462d50819f033756cb6e32b113ac.tar.xz mana-91176f564ae9462d50819f033756cb6e32b113ac.zip |
Applied some patches by peavey related to chatlog and the quit dialog.
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: |