summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/window.h')
-rw-r--r--src/gui/widgets/window.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h
index 386b7e16b..83f88f726 100644
--- a/src/gui/widgets/window.h
+++ b/src/gui/widgets/window.h
@@ -286,8 +286,7 @@ class Window notfinal : public BasicContainer2,
{ mSaveVisible = save; }
virtual void postInit()
- {
- }
+ { mInit = true; }
/**
* Returns the parent window.
@@ -705,6 +704,7 @@ class Window notfinal : public BasicContainer2,
bool mSticky; /**< Window resists hiding*/
bool mStickyButtonLock; /**< Window locked if sticky enabled*/
bool mPlayVisibleSound;
+ bool mInit;
};
#endif // GUI_WIDGETS_WINDOW_H