summaryrefslogtreecommitdiff
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
parent591869ee212806e271b1c924ece1f7d44daf2a06 (diff)
downloadmv-269e558e490d0116daaeb3528f7b97cfd8672afc.tar.gz
mv-269e558e490d0116daaeb3528f7b97cfd8672afc.tar.bz2
mv-269e558e490d0116daaeb3528f7b97cfd8672afc.tar.xz
mv-269e558e490d0116daaeb3528f7b97cfd8672afc.zip
Fix selection with mouse in listboxes.
-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);
}