diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-04-02 22:25:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-04-02 22:25:59 +0300 |
commit | 315f01573ccfbb7b10a60cbba0ef5cd89b7512db (patch) | |
tree | 6d57158c577daceeafd6a265ed311cd046fac1c7 | |
parent | fbe6252e218ad069386f59f12254bff1e3b01aac (diff) | |
download | manaverse-1.1.4.3.tar.gz manaverse-1.1.4.3.tar.bz2 manaverse-1.1.4.3.tar.xz manaverse-1.1.4.3.zip |
Another possible way to save chat settings on error.v1.1.4.3
-rw-r--r-- | src/client.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index 636b61521..2d5680d18 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1197,6 +1197,8 @@ 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 |