summaryrefslogtreecommitdiff
path: root/src/client.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/client.cpp
parent22c81087c05cf216c8ab0ff29c82677db96e9ed7 (diff)
downloadmv-dd5a317dbfdb24d905ade4ebea458e370619f61f.tar.gz
mv-dd5a317dbfdb24d905ade4ebea458e370619f61f.tar.bz2
mv-dd5a317dbfdb24d905ade4ebea458e370619f61f.tar.xz
mv-dd5a317dbfdb24d905ade4ebea458e370619f61f.zip
Save whisper tabs state to configuration after each change.
Before was only after correct game disconnect.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 01543d8be..092f81a93 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1289,8 +1289,6 @@ int Client::exec()
case STATE_ERROR:
logger->log1("State: ERROR");
logger->log("Error: %s\n", errorMessage.c_str());
- if (chatWindow)
- chatWindow->saveState();
mCurrentDialog = new OkDialog(_("Error"), errorMessage);
mCurrentDialog->addActionListener(&errorListener);
mCurrentDialog = NULL; // OkDialog deletes itself