diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-01-20 14:15:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-01-20 14:15:45 +0300 |
commit | d07fba228b5251862ad670e1d4f079c9456fab4b (patch) | |
tree | 7c44b5e282bca638de29642b330d5f0a30a97b8b /src/gui/widgets | |
parent | cc7b5b170738c1c17437fdb6740f5af7824ca979 (diff) | |
download | plus-d07fba228b5251862ad670e1d4f079c9456fab4b.tar.gz plus-d07fba228b5251862ad670e1d4f079c9456fab4b.tar.bz2 plus-d07fba228b5251862ad670e1d4f079c9456fab4b.tar.xz plus-d07fba228b5251862ad670e1d4f079c9456fab4b.zip |
Fix crashes on closing client before entering game.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/window.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index af753be2d..bb9e12320 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -151,6 +151,8 @@ Window::~Window() { logger->log("Window::~Window(\"%s\")", getCaption().c_str()); + Client::windowRemoved(this); + saveWindowState(); delete mLayout; |