summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-08-11 03:03:53 +0300
committerAndrei Karas <akaras@inbox.ru>2011-08-11 03:03:53 +0300
commitdd5a317dbfdb24d905ade4ebea458e370619f61f (patch)
tree85287ebf514aced1106d0b25744ba0a580659f28 /src/game.cpp
parent22c81087c05cf216c8ab0ff29c82677db96e9ed7 (diff)
downloadmanaplus-dd5a317dbfdb24d905ade4ebea458e370619f61f.tar.gz
manaplus-dd5a317dbfdb24d905ade4ebea458e370619f61f.tar.bz2
manaplus-dd5a317dbfdb24d905ade4ebea458e370619f61f.tar.xz
manaplus-dd5a317dbfdb24d905ade4ebea458e370619f61f.zip
Save whisper tabs state to configuration after each change.
Before was only after correct game disconnect.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 9a5128f37..40b6896b7 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -532,8 +532,6 @@ void Game::logic()
map->saveExtraLayer();
}
Client::closeDialogs();
- if (chatWindow)
- chatWindow->saveState();
disconnectedDialog = new OkDialog(_("Network Error"),
errorMessage, false);
disconnectedDialog->addActionListener(&errorListener);