From 91831a10758c1e2a9ba741e85fc3bcf944fadc97 Mon Sep 17 00:00:00 2001 From: WarmUpTill Date: Sun, 2 Aug 2020 18:00:50 +0200 Subject: [PATCH] fix autoStop not being persisted --- src/general.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/general.cpp b/src/general.cpp index a6811a8a..725cae46 100644 --- a/src/general.cpp +++ b/src/general.cpp @@ -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()); } }