summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-01-20 14:15:45 +0300
committerAndrei Karas <akaras@inbox.ru>2013-01-20 14:15:45 +0300
commitd07fba228b5251862ad670e1d4f079c9456fab4b (patch)
tree7c44b5e282bca638de29642b330d5f0a30a97b8b /src/gui
parentcc7b5b170738c1c17437fdb6740f5af7824ca979 (diff)
downloadmanaverse-d07fba228b5251862ad670e1d4f079c9456fab4b.tar.gz
manaverse-d07fba228b5251862ad670e1d4f079c9456fab4b.tar.bz2
manaverse-d07fba228b5251862ad670e1d4f079c9456fab4b.tar.xz
manaverse-d07fba228b5251862ad670e1d4f079c9456fab4b.zip
Fix crashes on closing client before entering game.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/window.cpp2
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;