mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
Fix crash on macro load
This commit is contained in:
parent
49c0de3f1b
commit
f4eaa9785d
|
|
@ -984,7 +984,7 @@ bool Macro::Load(obs_data_t *obj)
|
|||
auto newEntry = MacroActionFactory::Create(id, this);
|
||||
if (newEntry) {
|
||||
_elseActions.emplace_back(newEntry);
|
||||
auto action = _actions.back().get();
|
||||
auto action = _elseActions.back().get();
|
||||
action->WithLock([action, &arrayObj]() {
|
||||
action->Load(arrayObj);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user