diff options
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/window.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index caf7dae91..f2f7c1dd1 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -79,6 +79,8 @@ #include "gui/fonts/font.h" +#include "gui/windows/setupwindow.h" + #include "gui/widgets/containerplacer.h" #include "gui/widgets/layout.h" @@ -219,6 +221,9 @@ Window::~Window() if (gui) gui->removeDragged(this); + if (setupWindow) + setupWindow->unregisterWindowForReset(this); + client->windowRemoved(this); saveWindowState(); |