summaryrefslogtreecommitdiff
path: root/src/guichan/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/widgets')
-rw-r--r--src/guichan/widgets/listbox.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/guichan/widgets/listbox.cpp b/src/guichan/widgets/listbox.cpp
index 35978f648..10e37841a 100644
--- a/src/guichan/widgets/listbox.cpp
+++ b/src/guichan/widgets/listbox.cpp
@@ -138,11 +138,6 @@ namespace gcn
void ListBox::mousePressed(MouseEvent& mouseEvent)
{
- if (mouseEvent.getButton() == MouseEvent::LEFT)
- {
- setSelected(mouseEvent.getY() / getRowHeight());
- distributeActionEvent();
- }
}
void ListBox::mouseWheelMovedUp(MouseEvent& mouseEvent)