summaryrefslogtreecommitdiff
path: root/plugingui/listboxbasic.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/listboxbasic.cc')
-rw-r--r--plugingui/listboxbasic.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugingui/listboxbasic.cc b/plugingui/listboxbasic.cc
index 3711b56..2e02301 100644
--- a/plugingui/listboxbasic.cc
+++ b/plugingui/listboxbasic.cc
@@ -283,7 +283,8 @@ void ListBoxBasic::keyEvent(KeyEvent* keyEvent)
void ListBoxBasic::buttonEvent(ButtonEvent* buttonEvent)
{
// Ignore everything except left clicks.
- if (buttonEvent->button != MouseButton::left) {
+ if(buttonEvent->button != MouseButton::left)
+ {
return;
}