mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
Add missing reordering of action widgets
This commit is contained in:
parent
9ba8a02a11
commit
a922d6a73d
|
|
@ -347,6 +347,8 @@ void AdvSceneSwitcher::MacroActionReorder(int to, int from)
|
|||
macro->Actions().erase(macro->Actions().begin() + from);
|
||||
macro->Actions().insert(macro->Actions().begin() + to, action);
|
||||
macro->UpdateActionIndices();
|
||||
actionsList->ContentLayout()->insertItem(
|
||||
to, actionsList->ContentLayout()->takeAt(from));
|
||||
SetActionData(*macro);
|
||||
}
|
||||
HighlightAction(to);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user