From 269e558e490d0116daaeb3528f7b97cfd8672afc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 18 Jun 2012 02:55:45 +0300 Subject: Fix selection with mouse in listboxes. --- src/gui/widgets/listbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') 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); } -- cgit v1.2.3-70-g09d2