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