summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-01-21 02:16:57 +0200
committerAndrei Karas <akaras@inbox.ru>2011-01-21 03:14:54 +0200
commitfe8a5d4b795a89a59a352bb230c749eb07ad81fd (patch)
tree8d8c900e62b2c1fa421f2d6eac74eb2e9b97f957 /src
parent4fb5f3455e1f817348c02e6f5c42e3979dd51d64 (diff)
downloadplus-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.
Diffstat (limited to 'src')
-rw-r--r--src/game.cpp2
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();
}