diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-22 21:39:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-22 21:39:01 +0300 |
commit | 8040656ae1d1dea330754d4595b2737b7eb7959a (patch) | |
tree | a3915d674bcaceba16dfb3824740392d07504ef3 | |
parent | 4a5cdfe19cbb50e3b58149c6e91312366ee4b771 (diff) | |
download | manaplus-8040656ae1d1dea330754d4595b2737b7eb7959a.tar.gz manaplus-8040656ae1d1dea330754d4595b2737b7eb7959a.tar.bz2 manaplus-8040656ae1d1dea330754d4595b2737b7eb7959a.tar.xz manaplus-8040656ae1d1dea330754d4595b2737b7eb7959a.zip |
Restore default close image on window closing
-rw-r--r-- | src/gui/widgets/window.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index 21a78ba7e..19d0b2fea 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -491,6 +491,8 @@ void Window::setVisible(bool visible, bool forceSticky) // Check if the window is off screen... if (visible) ensureOnScreen(); + else + mResizeHandles = 0; if (isStickyButtonLock()) gcn::Window::setVisible(visible); |