mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-30 05:06:14 -05:00
Add hotkey to delete macro segments
This commit is contained in:
@@ -592,3 +592,12 @@ void AdvSceneSwitcher::SetSelection(MacroSegmentList *list, int idx)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void AdvSceneSwitcher::DeleteMacroSegementHotkey()
|
||||
{
|
||||
if (currentActionIdx != -1) {
|
||||
RemoveMacroAction(currentActionIdx);
|
||||
} else if (currentConditionIdx != -1) {
|
||||
RemoveMacroCondition(currentConditionIdx);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user