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/avatarlistbox.cpp | |
parent | 901898455259123e13a32a35052b4cadfa8c8a30 (diff) | |
download | ManaVerse-01660865a49250c6ed77159cb3d8b38e7ea37b95.tar.gz ManaVerse-01660865a49250c6ed77159cb3d8b38e7ea37b95.tar.bz2 ManaVerse-01660865a49250c6ed77159cb3d8b38e7ea37b95.tar.xz ManaVerse-01660865a49250c6ed77159cb3d8b38e7ea37b95.zip |
Run click action in list box only after mouse released.
Before was on mouse pressed.
Diffstat (limited to 'src/gui/widgets/avatarlistbox.cpp')
-rw-r--r-- | src/gui/widgets/avatarlistbox.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/avatarlistbox.cpp b/src/gui/widgets/avatarlistbox.cpp index 76b5ccfc4..eb1a00fe2 100644 --- a/src/gui/widgets/avatarlistbox.cpp +++ b/src/gui/widgets/avatarlistbox.cpp @@ -419,6 +419,10 @@ void AvatarListBox::mousePressed(gcn::MouseEvent &event) } } +void AvatarListBox::mouseReleased(gcn::MouseEvent &event A_UNUSED) +{ +} + void AvatarListBox::optionChanged(const std::string &value) { if (value == "showgender") |