summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-25 18:25:49 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-25 18:25:49 +0300
commit03eb816ad582e712f05696e65a3d443fcf181222 (patch)
tree83597bd05dd702d513a78ecb6230051e8e0014a8
parentc1c666d37d924f4ef9c544b7ce25fc3ef7b6dd15 (diff)
downloadmv-03eb816ad582e712f05696e65a3d443fcf181222.tar.gz
mv-03eb816ad582e712f05696e65a3d443fcf181222.tar.bz2
mv-03eb816ad582e712f05696e65a3d443fcf181222.tar.xz
mv-03eb816ad582e712f05696e65a3d443fcf181222.zip
Hide popups if mouse enter popup menu.
-rw-r--r--src/gui/popups/popupmenu.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 910102f33..cdcbf836a 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -134,6 +134,7 @@ PopupMenu::PopupMenu() :
mPlayerListener.setType(ActorType::Unknown);
mScrollArea = new ScrollArea(this, mBrowserBox, false);
mScrollArea->setVerticalScrollPolicy(ScrollArea::SHOW_AUTO);
+ addMouseListener(this);
}
void PopupMenu::postInit()