diff options
Diffstat (limited to 'src/gui/widgets/window.cpp')
-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 53bf92cc0..657fbcd88 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -155,6 +155,8 @@ Window::Window(const std::string &caption, { logger->log("Window::Window(\"%s\")", caption.c_str()); + mWindow = this; + windowInstances++; // mFrameSize = 1; |