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