From fe8a5d4b795a89a59a352bb230c749eb07ad81fd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 21 Jan 2011 02:16:57 +0200 Subject: Show network error dialog as not modal. This fix stuck client in some situations. Also prevent server change if now disconnected. --- src/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game.cpp') 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(); } -- cgit v1.2.3-70-g09d2