summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-28 00:01:36 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-28 00:01:36 +0300
commit32fd328d1a495686e24a11608638c92b3f396262 (patch)
tree225dbbe6a131cfbb2a7e2c7f526c1cfb07977486 /src
parent3c696abed2aa5b7b8b349b9c4c14c69436ec2d27 (diff)
downloadplus-32fd328d1a495686e24a11608638c92b3f396262.tar.gz
plus-32fd328d1a495686e24a11608638c92b3f396262.tar.bz2
plus-32fd328d1a495686e24a11608638c92b3f396262.tar.xz
plus-32fd328d1a495686e24a11608638c92b3f396262.zip
Fix mouse handling events in equipment and item amount windows.
Diffstat (limited to 'src')
-rw-r--r--src/gui/equipmentwindow.cpp2
-rw-r--r--src/gui/itemamountwindow.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/equipmentwindow.cpp b/src/gui/equipmentwindow.cpp
index a69343b77..d8e79e0c1 100644
--- a/src/gui/equipmentwindow.cpp
+++ b/src/gui/equipmentwindow.cpp
@@ -286,6 +286,8 @@ void EquipmentWindow::mousePressed(gcn::MouseEvent& mouseEvent)
// Show ItemTooltip
void EquipmentWindow::mouseMoved(gcn::MouseEvent &event)
{
+ Window::mouseMoved(event);
+
if (!mItemPopup)
return;
diff --git a/src/gui/itemamountwindow.cpp b/src/gui/itemamountwindow.cpp
index 02bddbc11..3e22246b5 100644
--- a/src/gui/itemamountwindow.cpp
+++ b/src/gui/itemamountwindow.cpp
@@ -298,6 +298,8 @@ ItemAmountWindow::~ItemAmountWindow()
// Show ItemTooltip
void ItemAmountWindow::mouseMoved(gcn::MouseEvent &event)
{
+ Window::mouseMoved(event);
+
if (!viewport || !mItemPopup)
return;