diff options
author | Chuck Miller <shadowmil@gmail.com> | 2009-05-05 18:38:44 -0400 |
---|---|---|
committer | Chuck Miller <shadowmil@gmail.com> | 2009-05-05 18:38:44 -0400 |
commit | 2ab5dd8b3183f228a4f2038d378ad7100ed241a2 (patch) | |
tree | 0a67225590b88f856ee92868676d0f1ba01e2dbe /src/gui/itempopup.cpp | |
parent | bff134a0803f68a7bf69cf2f1121824137d4b2fb (diff) | |
parent | 45296672d98ca04cd2e659d5a733bff906342d80 (diff) | |
download | mana-client-2ab5dd8b3183f228a4f2038d378ad7100ed241a2.tar.gz mana-client-2ab5dd8b3183f228a4f2038d378ad7100ed241a2.tar.bz2 mana-client-2ab5dd8b3183f228a4f2038d378ad7100ed241a2.tar.xz mana-client-2ab5dd8b3183f228a4f2038d378ad7100ed241a2.zip |
Merge branch 'master' of git://gitorious.org/tmw/mainline
Diffstat (limited to 'src/gui/itempopup.cpp')
-rw-r--r-- | src/gui/itempopup.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/itempopup.cpp b/src/gui/itempopup.cpp index 2a45a06a..e1822e03 100644 --- a/src/gui/itempopup.cpp +++ b/src/gui/itempopup.cpp @@ -66,6 +66,8 @@ ItemPopup::ItemPopup(): add(mItemEffect); add(mItemWeight); + addMouseListener(this); + loadPopupConfiguration(); } @@ -178,3 +180,9 @@ void ItemPopup::view(int x, int y) setVisible(true); requestMoveToTop(); } + +void ItemPopup::mouseMoved(gcn::MouseEvent &event) +{ + // When the mouse moved on top of the popup, hide it + setVisible(false); +} |