maybe fix toggle work in code

This commit is contained in:
kirillpt 2020-11-25 18:57:54 +03:00
parent b9dcdbcb81
commit 46605d86f2
2 changed files with 26 additions and 26 deletions

View file

@ -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();
}