* Use GetSettingsWindow() instead of window() to avoid connecting to the
  wrong widget
* Fix typos
This commit is contained in:
WarmUpTill
2025-06-22 20:08:21 +02:00
committed by WarmUpTill
parent be8f7bd70f
commit 0b774c171d
26 changed files with 75 additions and 57 deletions

View File

@@ -535,8 +535,8 @@ void SwitcherData::SaveGeneralSettings(obs_data_t *obj)
cooldown.Save(obj, "cooldown");
obs_data_set_bool(obj, "enableCooldown", enableCooldown);
obs_data_set_bool(obj, "active", sceneColletionStop ? true : !stop);
sceneColletionStop = false;
obs_data_set_bool(obj, "active", sceneCollectionStop ? true : !stop);
sceneCollectionStop = false;
obs_data_set_int(obj, "startup_behavior",
static_cast<int>(startupBehavior));