diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-01-21 02:16:57 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-01-21 03:14:54 +0200 |
commit | fe8a5d4b795a89a59a352bb230c749eb07ad81fd (patch) | |
tree | 8d8c900e62b2c1fa421f2d6eac74eb2e9b97f957 | |
parent | 4fb5f3455e1f817348c02e6f5c42e3979dd51d64 (diff) | |
download | plus-fe8a5d4b795a89a59a352bb230c749eb07ad81fd.tar.gz plus-fe8a5d4b795a89a59a352bb230c749eb07ad81fd.tar.bz2 plus-fe8a5d4b795a89a59a352bb230c749eb07ad81fd.tar.xz plus-fe8a5d4b795a89a59a352bb230c749eb07ad81fd.zip |
Show network error dialog as not modal.
This fix stuck client in some situations.
Also prevent server change if now disconnected.
-rw-r--r-- | src/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp index 4f8bad0ce..f5565b71e 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -485,7 +485,7 @@ void Game::logic() if (!disconnectedDialog) { disconnectedDialog = new OkDialog(_("Network Error"), - errorMessage); + errorMessage, false); disconnectedDialog->addActionListener(&errorListener); disconnectedDialog->requestMoveToTop(); } |