diff options
Diffstat (limited to 'src/gui/windows/setupwindow.cpp')
-rw-r--r-- | src/gui/windows/setupwindow.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gui/windows/setupwindow.cpp b/src/gui/windows/setupwindow.cpp index 93556ab08..07a4b776a 100644 --- a/src/gui/windows/setupwindow.cpp +++ b/src/gui/windows/setupwindow.cpp @@ -255,6 +255,17 @@ void SetupWindow::unregisterWindowForReset(Window *const window) } } +void SetupWindow::hideWindows() +{ + FOR_EACH (std::list<Window*>::const_iterator, it, mWindowsToReset) + { + Window *const window = *it; + if (window) + window->setVisible(false); + } + setVisible(false); +} + void SetupWindow::doCancel() { setVisible(false); |