From 01660865a49250c6ed77159cb3d8b38e7ea37b95 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 5 Oct 2013 12:45:41 +0300 Subject: Run click action in list box only after mouse released. Before was on mouse pressed. --- src/gui/widgets/popuplist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/popuplist.cpp') diff --git a/src/gui/widgets/popuplist.cpp b/src/gui/widgets/popuplist.cpp index 3b382f38a..2d32a5490 100644 --- a/src/gui/widgets/popuplist.cpp +++ b/src/gui/widgets/popuplist.cpp @@ -122,7 +122,7 @@ void PopupList::adjustSize() mListBox->setWidth(width); } -void PopupList::mousePressed(gcn::MouseEvent& mouseEvent) +void PopupList::mouseReleased(gcn::MouseEvent& mouseEvent) { if (mouseEvent.getSource() == mScrollArea) return; -- cgit v1.2.3-60-g2f50