summaryrefslogtreecommitdiff
path: root/plugingui/slider.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/slider.cc')
-rw-r--r--plugingui/slider.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugingui/slider.cc b/plugingui/slider.cc
index 64a4b3f..7405a69 100644
--- a/plugingui/slider.cc
+++ b/plugingui/slider.cc
@@ -100,7 +100,8 @@ void Slider::repaintEvent(RepaintEvent* repaintEvent)
void Slider::buttonEvent(ButtonEvent* buttonEvent)
{
// Ignore everything except left clicks.
- if (buttonEvent->button != MouseButton::left) {
+ if(buttonEvent->button != MouseButton::left)
+ {
return;
}