summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
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)