summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-14 21:30:20 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-14 21:31:58 +0300
commit1d290d6a54c2ea6e689446551a8d16025a179177 (patch)
tree7e0f3c8f5eb392d4450cac2a62caadddd76f350b /src/gui/widgets/window.cpp
parent55d29f52f7ceac17c10b255612750a98e35a4b72 (diff)
downloadplus-1d290d6a54c2ea6e689446551a8d16025a179177.tar.gz
plus-1d290d6a54c2ea6e689446551a8d16025a179177.tar.bz2
plus-1d290d6a54c2ea6e689446551a8d16025a179177.tar.xz
plus-1d290d6a54c2ea6e689446551a8d16025a179177.zip
Fix equipment window selected item draw.
Also fix popup if selection changed.
Diffstat (limited to 'src/gui/widgets/window.cpp')
-rw-r--r--src/gui/widgets/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp
index 83ae2e42b..9c5be0936 100644
--- a/src/gui/widgets/window.cpp
+++ b/src/gui/widgets/window.cpp
@@ -54,6 +54,7 @@ Window::Window(const std::string &caption, const bool modal,
mDefaultY(0),
mDefaultWidth(0),
mDefaultHeight(0),
+ mRedraw(true),
mLastRedraw(true),
mGrip(nullptr),
mParent(parent),
@@ -79,7 +80,6 @@ Window::Window(const std::string &caption, const bool modal,
mGripPadding(2),
mResizeHandles(-1),
mOldResizeHandles(-1),
- mRedraw(true),
mPlayVisibleSound(false),
mCaptionFont(getFont())
{