diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-07-26 20:14:45 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-07-26 20:14:45 +0000 |
commit | 34e18a818a7696629515c39b920ba35b64832748 (patch) | |
tree | 178503733a7cae78f12c51111b2d1fa9fce91180 /src/gui | |
parent | 1c43b2cdee5a5508a6e771b477100517deae07e7 (diff) | |
download | mana-34e18a818a7696629515c39b920ba35b64832748.tar.gz mana-34e18a818a7696629515c39b920ba35b64832748.tar.bz2 mana-34e18a818a7696629515c39b920ba35b64832748.tar.xz mana-34e18a818a7696629515c39b920ba35b64832748.zip |
Fixed empty popup window being shown when user right clicks on an empty tile while popup is visible.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/popupmenu.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp index 18f90af5..32690bdb 100644 --- a/src/gui/popupmenu.cpp +++ b/src/gui/popupmenu.cpp @@ -105,6 +105,8 @@ void PopupMenu::showPopup(int mx, int my) else { // If there is nothing of interest, don't display menu. + // Hide it, because it may have been visible. + setVisible(false); return; } |