From 452b02cb1b6e1675323d89e5f2c4946b2868a584 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Mon, 1 Mar 2010 07:46:59 -0700 Subject: Hide BeingPopup when mouseover Windows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Thorbjørn Lindeijer Reviewed-by: Chuck Miller --- src/gui/itempopup.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/itempopup.cpp') 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); } -- cgit v1.2.3-60-g2f50