summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-11 13:35:59 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-11 13:35:59 +0300
commit43e7e15b797fbe4f2e1f636745208f71dd0078a9 (patch)
tree82a49f76f56f0631b9afac67b6e8f7d2c71e6522 /src/gui/windows
parente0a6ff515e3332b2c49ed964da470c6919e65b86 (diff)
downloadManaVerse-43e7e15b797fbe4f2e1f636745208f71dd0078a9.tar.gz
ManaVerse-43e7e15b797fbe4f2e1f636745208f71dd0078a9.tar.bz2
ManaVerse-43e7e15b797fbe4f2e1f636745208f71dd0078a9.tar.xz
ManaVerse-43e7e15b797fbe4f2e1f636745208f71dd0078a9.zip
In hide all windows action not hide locked windows.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/setupwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/setupwindow.cpp b/src/gui/windows/setupwindow.cpp
index df1fe7f28..038edd96d 100644
--- a/src/gui/windows/setupwindow.cpp
+++ b/src/gui/windows/setupwindow.cpp
@@ -261,7 +261,7 @@ void SetupWindow::hideWindows()
FOR_EACH (std::list<Window*>::const_iterator, it, mWindowsToReset)
{
Window *const window = *it;
- if (window)
+ if (window && !window->isSticky())
window->setVisible(false);
}
setVisible(false);