diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-28 23:00:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-28 23:09:33 +0300 |
commit | 739fd277e28120cd643ac443a013b482698427ba (patch) | |
tree | 3f2a154ce26753f5d2014ea50e440499ab8f9305 /src/gui/widgets/emoteshortcutcontainer.cpp | |
parent | 727808b197394912f212641fb2e39088eab82060 (diff) | |
download | manaplus-739fd277e28120cd643ac443a013b482698427ba.tar.gz manaplus-739fd277e28120cd643ac443a013b482698427ba.tar.bz2 manaplus-739fd277e28120cd643ac443a013b482698427ba.tar.xz manaplus-739fd277e28120cd643ac443a013b482698427ba.zip |
Hide popups in different hidden windows.
Diffstat (limited to 'src/gui/widgets/emoteshortcutcontainer.cpp')
-rw-r--r-- | src/gui/widgets/emoteshortcutcontainer.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gui/widgets/emoteshortcutcontainer.cpp b/src/gui/widgets/emoteshortcutcontainer.cpp index 5aced193f..cc9e8badf 100644 --- a/src/gui/widgets/emoteshortcutcontainer.cpp +++ b/src/gui/widgets/emoteshortcutcontainer.cpp @@ -252,4 +252,10 @@ void EmoteShortcutContainer::mouseExited(gcn::MouseEvent &event A_UNUSED) { if (mEmotePopup) mEmotePopup->setVisible(false); -}
\ No newline at end of file +} + +void EmoteShortcutContainer::widgetHidden(const gcn::Event &event A_UNUSED) +{ + if (mEmotePopup) + mEmotePopup->setVisible(false); +} |