From cff9e8d8f4bd6b678ad420c9e17eff729eecae4d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 23 May 2011 00:55:41 +0300 Subject: Hide tooltip in equipment window if opening context menu. --- src/gui/equipmentwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) 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. */ -- cgit v1.2.3-70-g09d2