summary refs log tree commit diff
path: root/src/ui
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2020-11-25 22:18:28 +0100
committerGitHub <noreply@github.com>2020-11-25 22:18:28 +0100
commit140d927463893561e39506a68dc3e393a9b03bb7 (patch)
treee9ab70d1d57f1e812e8844177aa00283a6f4e805 /src/ui
parentMerge pull request #340 from trilene/fix-call-bar (diff)
parentfixed toggle weirdness in settings, after loads added setChecked for Toggles,... (diff)
downloadnheko-140d927463893561e39506a68dc3e393a9b03bb7.tar.xz
Merge pull request #339 from Kirillpt/issue_331
fix #331
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();
 }