fix autoStop not being persisted

This commit is contained in:
WarmUpTill 2020-08-02 18:00:50 +02:00
parent ccc824abc1
commit 91831a1075

View File

@ -128,6 +128,8 @@ void SceneSwitcher::on_autoStopSceneCheckBox_stateChanged(int state)
} else {
ui->autoStopScenes->setDisabled(false);
switcher->autoStopEnable = true;
if (!switcher->autoStopScene)
UpdateAutoStopScene(ui->autoStopScenes->currentText());
}
}