diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-05-23 00:55:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-05-23 00:55:41 +0300 |
commit | cff9e8d8f4bd6b678ad420c9e17eff729eecae4d (patch) | |
tree | 1a42c92b6c15c45246a1375fd261c82b0adf009f /src | |
parent | 13c025483bee2510c0fbb6dadf91922dc1b7153e (diff) | |
download | manaverse-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.cpp | 3 |
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. */ |