diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-26 18:30:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-26 18:30:58 +0300 |
commit | e8c4b1b085bbb18fa1808d0e116f7a971df370b6 (patch) | |
tree | 4664656f4a70ec192527907fe3b2243bd8488668 /src/gui/windows/setupwindow.cpp | |
parent | c265873c7d84e4e5b50b1f6205593d6ffb5e41f3 (diff) | |
download | manaverse-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/setupwindow.cpp')
-rw-r--r-- | src/gui/windows/setupwindow.cpp | 1 |
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) |