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