summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-26 18:30:58 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-26 18:30:58 +0300
commite8c4b1b085bbb18fa1808d0e116f7a971df370b6 (patch)
tree4664656f4a70ec192527907fe3b2243bd8488668 /src/gui/windows
parentc265873c7d84e4e5b50b1f6205593d6ffb5e41f3 (diff)
downloadmanaverse-e8c4b1b085bbb18fa1808d0e116f7a971df370b6.tar.gz
manaverse-e8c4b1b085bbb18fa1808d0e116f7a971df370b6.tar.bz2
manaverse-e8c4b1b085bbb18fa1808d0e116f7a971df370b6.tar.xz
manaverse-e8c4b1b085bbb18fa1808d0e116f7a971df370b6.zip
Fix crash on exist introduced after changes in reset windows list.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/setupwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/windows/setupwindow.cpp b/src/gui/windows/setupwindow.cpp
index dbe7e9108..9dfb675d8 100644
--- a/src/gui/windows/setupwindow.cpp
+++ b/src/gui/windows/setupwindow.cpp
@@ -160,6 +160,7 @@ SetupWindow::~SetupWindow()
{
delete_all(mTabs);
mButtons.clear();
+ setupWindow = nullptr;
}
void SetupWindow::action(const ActionEvent &event)