diff options
author | David Athay <ko2fan@gmail.com> | 2008-04-03 12:53:00 +0000 |
---|---|---|
committer | David Athay <ko2fan@gmail.com> | 2008-04-03 12:53:00 +0000 |
commit | 3f3ba5f3e18b0a5093e7275aee574ecd6f293ec6 (patch) | |
tree | 986fcffb9287d837b7c9b68f31d7480377b8fc99 | |
parent | 81bc81c04b5792f6bc71d886d49ce412ff35951b (diff) | |
download | mana-client-3f3ba5f3e18b0a5093e7275aee574ecd6f293ec6.tar.gz mana-client-3f3ba5f3e18b0a5093e7275aee574ecd6f293ec6.tar.bz2 mana-client-3f3ba5f3e18b0a5093e7275aee574ecd6f293ec6.tar.xz mana-client-3f3ba5f3e18b0a5093e7275aee574ecd6f293ec6.zip |
Tweaked disconnect dialog to fix crash bug id=250
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/game.cpp | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2008-04-03 David Athay <ko2fan@gmail.com> + + * src/game.cpp: Tweaked disconnect dialog, hoping to fix a crash bug. + 2008-03-30 Dennis Friis <peavey@placid.dk> * configure.ac: Updated for tmwdata split. diff --git a/src/game.cpp b/src/game.cpp index 553f80c3..0d8cfa6c 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -140,6 +140,7 @@ namespace { done = true; } exitConfirm = NULL; + disconnectedDialog = NULL; } } exitListener; } @@ -428,9 +429,8 @@ void Game::logic() OkDialog("Network Error", "The connection to the server was lost, the program will now quit"); disconnectedDialog->addActionListener(&exitListener); + disconnectedDialog->requestMoveToTop(); } - - disconnectedDialog->requestMoveToTop(); } } } |