summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-18 02:55:45 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-18 02:55:45 +0300
commit269e558e490d0116daaeb3528f7b97cfd8672afc (patch)
tree538cd037a7cf6a82cd5d1145463525ead1be5075 /src/gui
parent591869ee212806e271b1c924ece1f7d44daf2a06 (diff)
downloadmanaplus-269e558e490d0116daaeb3528f7b97cfd8672afc.tar.gz
manaplus-269e558e490d0116daaeb3528f7b97cfd8672afc.tar.bz2
manaplus-269e558e490d0116daaeb3528f7b97cfd8672afc.tar.xz
manaplus-269e558e490d0116daaeb3528f7b97cfd8672afc.zip
Fix selection with mouse in listboxes.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/listbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/listbox.cpp b/src/gui/widgets/listbox.cpp
index 949efe05d..f803e91b4 100644
--- a/src/gui/widgets/listbox.cpp
+++ b/src/gui/widgets/listbox.cpp
@@ -146,7 +146,7 @@ void ListBox::mouseWheelMovedDown(gcn::MouseEvent &mouseEvent A_UNUSED)
void ListBox::mousePressed(gcn::MouseEvent &event)
{
if (mDistributeMousePressed)
- distributeActionEvent();
+ gcn::ListBox::mousePressed(event);
else
mouseDragged(event);
}