summaryrefslogtreecommitdiff
path: root/src/gui/itempopup.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-03-01 07:46:59 -0700
committerJared Adams <jaxad0127@gmail.com>2010-03-01 13:21:52 -0700
commit452b02cb1b6e1675323d89e5f2c4946b2868a584 (patch)
tree3ea0dc67ea31d0c373f87c8dd2dc1037296845fd /src/gui/itempopup.cpp
parent33b5868a46feb75bc939495c0a3650379e1e56e1 (diff)
downloadmana-452b02cb1b6e1675323d89e5f2c4946b2868a584.tar.gz
mana-452b02cb1b6e1675323d89e5f2c4946b2868a584.tar.bz2
mana-452b02cb1b6e1675323d89e5f2c4946b2868a584.tar.xz
mana-452b02cb1b6e1675323d89e5f2c4946b2868a584.zip
Hide BeingPopup when mouseover Windows
Reviewed-by: Thorbjørn Lindeijer Reviewed-by: Chuck Miller
Diffstat (limited to 'src/gui/itempopup.cpp')
-rw-r--r--src/gui/itempopup.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/itempopup.cpp b/src/gui/itempopup.cpp
index c22a9c33..1d41449d 100644
--- a/src/gui/itempopup.cpp
+++ b/src/gui/itempopup.cpp
@@ -168,6 +168,8 @@ gcn::Color ItemPopup::getColor(ItemType type)
void ItemPopup::mouseMoved(gcn::MouseEvent &event)
{
+ Popup::mouseMoved(event);
+
// When the mouse moved on top of the popup, hide it
setVisible(false);
}