summaryrefslogtreecommitdiff
path: root/plugingui/checkbox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/checkbox.cc')
-rw-r--r--plugingui/checkbox.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugingui/checkbox.cc b/plugingui/checkbox.cc
index 4f71e54..bada623 100644
--- a/plugingui/checkbox.cc
+++ b/plugingui/checkbox.cc
@@ -42,7 +42,8 @@ CheckBox::CheckBox(Widget* parent)
void CheckBox::buttonEvent(ButtonEvent* buttonEvent)
{
// Ignore everything except left clicks.
- if (buttonEvent->button != MouseButton::left) {
+ if(buttonEvent->button != MouseButton::left)
+ {
return;
}