summaryrefslogtreecommitdiff
path: root/src/guichan
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-16 03:22:50 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-16 03:25:37 +0300
commit82cc576b7896f39bcf71aa85c8c4b3ef786c065b (patch)
tree2207f3bb4a0b1fa896fe183da245287525d65117 /src/guichan
parent6bbe09af6faa77df40112e7cf876877ef11ce74b (diff)
downloadmv-82cc576b7896f39bcf71aa85c8c4b3ef786c065b.tar.gz
mv-82cc576b7896f39bcf71aa85c8c4b3ef786c065b.tar.bz2
mv-82cc576b7896f39bcf71aa85c8c4b3ef786c065b.tar.xz
mv-82cc576b7896f39bcf71aa85c8c4b3ef786c065b.zip
Add listbox padding.
New theme file: listbox.xml Theme option: padding
Diffstat (limited to 'src/guichan')
-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)