summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/widgets/shoplistbox.cpp2
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())));