From 89694323abffb1c73c85d49460991b3e6f20f098 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 23 May 2015 22:11:54 +0300 Subject: Move window variable from widget class to widget2 class. --- src/gui/widgets/popup.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/widgets/popup.cpp') diff --git a/src/gui/widgets/popup.cpp b/src/gui/widgets/popup.cpp index a69c7a654..7383ac94b 100644 --- a/src/gui/widgets/popup.cpp +++ b/src/gui/widgets/popup.cpp @@ -53,6 +53,8 @@ Popup::Popup(const std::string &name, { logger->log("Popup::Popup(\"%s\")", name.c_str()); + mWindow = this; + addWidgetListener(this); if (skin == "") -- cgit v1.2.3-60-g2f50