From 1d290d6a54c2ea6e689446551a8d16025a179177 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 14 Dec 2012 21:30:20 +0300 Subject: Fix equipment window selected item draw. Also fix popup if selection changed. --- src/gui/widgets/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/window.cpp') 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()) { -- cgit v1.2.3-70-g09d2