diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-23 22:11:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-23 23:22:45 +0300 |
commit | 89694323abffb1c73c85d49460991b3e6f20f098 (patch) | |
tree | e4c11c4236bec6db774dd56925335a1535568ef8 /src/gui/widgets/popup.cpp | |
parent | 0c3a1befd07924ce17ce2051eb45e60776480830 (diff) | |
download | manaplus-89694323abffb1c73c85d49460991b3e6f20f098.tar.gz manaplus-89694323abffb1c73c85d49460991b3e6f20f098.tar.bz2 manaplus-89694323abffb1c73c85d49460991b3e6f20f098.tar.xz manaplus-89694323abffb1c73c85d49460991b3e6f20f098.zip |
Move window variable from widget class to widget2 class.
Diffstat (limited to 'src/gui/widgets/popup.cpp')
-rw-r--r-- | src/gui/widgets/popup.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 == "") |