mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
fix switch priority falling back to default values on startup
This commit is contained in:
parent
098159dc0f
commit
cd54cc17c0
|
|
@ -332,7 +332,7 @@ void SwitcherData::loadGeneralSettings(obs_data_t *obj)
|
|||
(obs_data_get_int(obj, "priority5"));
|
||||
switcher->functionNamesByPriority[6] =
|
||||
(obs_data_get_int(obj, "priority6"));
|
||||
switcher->functionNamesByPriority[6] =
|
||||
switcher->functionNamesByPriority[7] =
|
||||
(obs_data_get_int(obj, "priority7"));
|
||||
if (!switcher->prioFuncsValid()) {
|
||||
switcher->functionNamesByPriority[0] = (DEFAULT_PRIORITY_0);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user