summaryrefslogtreecommitdiff
path: root/src/gui/widgets/listbox.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-05 12:45:41 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-05 12:45:41 +0300
commit01660865a49250c6ed77159cb3d8b38e7ea37b95 (patch)
treed08d552b885ac4e735d778200963f9f64190e37b /src/gui/widgets/listbox.h
parent901898455259123e13a32a35052b4cadfa8c8a30 (diff)
downloadplus-01660865a49250c6ed77159cb3d8b38e7ea37b95.tar.gz
plus-01660865a49250c6ed77159cb3d8b38e7ea37b95.tar.bz2
plus-01660865a49250c6ed77159cb3d8b38e7ea37b95.tar.xz
plus-01660865a49250c6ed77159cb3d8b38e7ea37b95.zip
Run click action in list box only after mouse released.
Before was on mouse pressed.
Diffstat (limited to 'src/gui/widgets/listbox.h')
-rw-r--r--src/gui/widgets/listbox.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/listbox.h b/src/gui/widgets/listbox.h
index 909159e11..4397a201e 100644
--- a/src/gui/widgets/listbox.h
+++ b/src/gui/widgets/listbox.h
@@ -73,9 +73,9 @@ class ListBox : public gcn::ListBox,
void mouseWheelMovedDown(gcn::MouseEvent& mouseEvent) override;
- void mousePressed(gcn::MouseEvent &event) override;
+ void mouseReleased(gcn::MouseEvent &event) override;
- void mousePressed1(gcn::MouseEvent &event);
+ void mouseReleased1(gcn::MouseEvent &event);
void mouseDragged(gcn::MouseEvent &event) override;