From 32fd328d1a495686e24a11608638c92b3f396262 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 28 Sep 2012 00:01:36 +0300 Subject: Fix mouse handling events in equipment and item amount windows. --- src/gui/equipmentwindow.cpp | 2 ++ src/gui/itemamountwindow.cpp | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/gui') 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; -- cgit v1.2.3-70-g09d2