summaryrefslogtreecommitdiff
path: root/src/gui/widgets/popuplist.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-03 20:41:04 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-03 20:41:04 +0300
commit855947baec01a77f18c8c3cee8c0af000131b71e (patch)
tree323a8589bcefdc6f400065a68dce297f7cda2467 /src/gui/widgets/popuplist.cpp
parent2947d6af4334a736eab6ea1ad8147239311ea027 (diff)
downloadmanaplus-855947baec01a77f18c8c3cee8c0af000131b71e.tar.gz
manaplus-855947baec01a77f18c8c3cee8c0af000131b71e.tar.bz2
manaplus-855947baec01a77f18c8c3cee8c0af000131b71e.tar.xz
manaplus-855947baec01a77f18c8c3cee8c0af000131b71e.zip
Fix close dropdowns on item selection.
Diffstat (limited to 'src/gui/widgets/popuplist.cpp')
-rw-r--r--src/gui/widgets/popuplist.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/popuplist.cpp b/src/gui/widgets/popuplist.cpp
index fa0616fd2..c203f59c6 100644
--- a/src/gui/widgets/popuplist.cpp
+++ b/src/gui/widgets/popuplist.cpp
@@ -43,6 +43,8 @@ PopupList::PopupList(DropDown *const widget,
mModal(modal)
{
mListBox->postInit();
+ mListBox->setMouseConsume(false);
+ mScrollArea->setMouseConsume(false);
mAllowLogic = false;
setFocusable(true);