summary refs log tree commit diff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/ToggleButton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/ToggleButton.cpp b/src/ui/ToggleButton.cpp
index f9411489..252232a1 100644
--- a/src/ui/ToggleButton.cpp
+++ b/src/ui/ToggleButton.cpp
@@ -22,7 +22,7 @@ Toggle::Toggle(QWidget *parent)
 void
 Toggle::setState(bool isEnabled)
 {
-        thumb_->setShift(isEnabled ? Position::Right : Position::Left);
+        thumb_->setShift(isEnabled ? Position::Left : Position::Right);
         setupProperties();
 }