summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-23 00:55:41 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-23 00:55:41 +0300
commitcff9e8d8f4bd6b678ad420c9e17eff729eecae4d (patch)
tree1a42c92b6c15c45246a1375fd261c82b0adf009f /src
parent13c025483bee2510c0fbb6dadf91922dc1b7153e (diff)
downloadmanaverse-cff9e8d8f4bd6b678ad420c9e17eff729eecae4d.tar.gz
manaverse-cff9e8d8f4bd6b678ad420c9e17eff729eecae4d.tar.bz2
manaverse-cff9e8d8f4bd6b678ad420c9e17eff729eecae4d.tar.xz
manaverse-cff9e8d8f4bd6b678ad420c9e17eff729eecae4d.zip
Hide tooltip in equipment window if opening context menu.
Diffstat (limited to 'src')
-rw-r--r--src/gui/equipmentwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/equipmentwindow.cpp b/src/gui/equipmentwindow.cpp
index 2a0ad96bb..bb1fc325b 100644
--- a/src/gui/equipmentwindow.cpp
+++ b/src/gui/equipmentwindow.cpp
@@ -233,6 +233,9 @@ void EquipmentWindow::mousePressed(gcn::MouseEvent& mouseEvent)
{
if (Item *item = getItem(x, y))
{
+ if (mItemPopup)
+ mItemPopup->setVisible(false);
+
/* Convert relative to the window coordinates to absolute screen
* coordinates.
*/