mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
Only insert enabled actions to action queues
This commit is contained in:
parent
96db0ad507
commit
4e3a062084
|
|
@ -31,7 +31,9 @@ void MacroActionQueue::AddActions(ActionQueue *queue)
|
|||
|
||||
auto actions = *GetMacroActions(macro.get());
|
||||
for (const auto &action : actions) {
|
||||
queue->Add(action);
|
||||
if (action->Enabled()) {
|
||||
queue->Add(action);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user