From d07fba228b5251862ad670e1d4f079c9456fab4b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 20 Jan 2013 14:15:45 +0300 Subject: Fix crashes on closing client before entering game. --- src/gui/widgets/window.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui') 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; -- cgit v1.2.3-70-g09d2