diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-05 12:45:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-05 12:45:41 +0300 |
commit | 01660865a49250c6ed77159cb3d8b38e7ea37b95 (patch) | |
tree | d08d552b885ac4e735d778200963f9f64190e37b /src/gui/widgets/popuplist.h | |
parent | 901898455259123e13a32a35052b4cadfa8c8a30 (diff) | |
download | manaplus-01660865a49250c6ed77159cb3d8b38e7ea37b95.tar.gz manaplus-01660865a49250c6ed77159cb3d8b38e7ea37b95.tar.bz2 manaplus-01660865a49250c6ed77159cb3d8b38e7ea37b95.tar.xz manaplus-01660865a49250c6ed77159cb3d8b38e7ea37b95.zip |
Run click action in list box only after mouse released.
Before was on mouse pressed.
Diffstat (limited to 'src/gui/widgets/popuplist.h')
-rw-r--r-- | src/gui/widgets/popuplist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/popuplist.h b/src/gui/widgets/popuplist.h index 1ffb2d74c..ad2ad0d03 100644 --- a/src/gui/widgets/popuplist.h +++ b/src/gui/widgets/popuplist.h @@ -63,7 +63,7 @@ class PopupList final : public Popup, void focusLost(const gcn::Event& event A_UNUSED) override; - void mousePressed(gcn::MouseEvent& mouseEvent) override; + void mouseReleased(gcn::MouseEvent& mouseEvent) override; private: gcn::ListModel *mListModel; |