summaryrefslogtreecommitdiff
path: root/src/gui/popupmenu.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2007-08-14 12:11:11 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2007-08-14 12:11:11 +0000
commit6c93c10b145d6dd619180bdade5eb9c9392996f1 (patch)
treebe08d79941509d2f97c3ffae6bea2ab4db3affbc /src/gui/popupmenu.cpp
parent4c15cf97659186bd5ee87068466b498b07ff3182 (diff)
downloadmana-client-6c93c10b145d6dd619180bdade5eb9c9392996f1.tar.gz
mana-client-6c93c10b145d6dd619180bdade5eb9c9392996f1.tar.bz2
mana-client-6c93c10b145d6dd619180bdade5eb9c9392996f1.tar.xz
mana-client-6c93c10b145d6dd619180bdade5eb9c9392996f1.zip
Fixed popup menu requiring one more click after being used.
Diffstat (limited to 'src/gui/popupmenu.cpp')
-rw-r--r--src/gui/popupmenu.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp
index c2959e1d..8f93cb1e 100644
--- a/src/gui/popupmenu.cpp
+++ b/src/gui/popupmenu.cpp
@@ -210,12 +210,6 @@ void PopupMenu::handleLink(const std::string& link)
setVisible(false);
- /*
- * This is need cause of a bug in guichan that leave
- * the focus on the popup menu even if is not visible.
- */
- _getFocusHandler()->focusNone();
-
mBeing = NULL;
mFloorItem = NULL;
mItem = NULL;