diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-26 22:23:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-26 22:23:05 +0300 |
commit | 7ba5e3db652be97b1007b1025d9d016e6d47ce13 (patch) | |
tree | 513ee588ffb64578f375f87448dc774d04bf280b /src/gui/widgets | |
parent | 94aee6b81132884686bce4473d67380c57c72fff (diff) | |
download | manaplus-7ba5e3db652be97b1007b1025d9d016e6d47ce13.tar.gz manaplus-7ba5e3db652be97b1007b1025d9d016e6d47ce13.tar.bz2 manaplus-7ba5e3db652be97b1007b1025d9d016e6d47ce13.tar.xz manaplus-7ba5e3db652be97b1007b1025d9d016e6d47ce13.zip |
fix selection in shoplistbox.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/shoplistbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/shoplistbox.cpp b/src/gui/widgets/shoplistbox.cpp index 889cf4129..9918b7788 100644 --- a/src/gui/widgets/shoplistbox.cpp +++ b/src/gui/widgets/shoplistbox.cpp @@ -226,7 +226,7 @@ void ShopListBox::mouseMoved(gcn::MouseEvent &event) void ShopListBox::mouseReleased(gcn::MouseEvent& mouseEvent) { - ListBox::mousePressed(mouseEvent); + ListBox::mouseReleased(mouseEvent); if (mouseEvent.getButton() == gcn::MouseEvent::RIGHT) { setSelected(std::max(0, getSelectionByMouse(mouseEvent.getY()))); |