mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-25 16:11:49 +01:00
Reload Special Action list in Profile after creating a new Special Action
This commit is contained in:
parent
164fbd5154
commit
43f183e05b
@ -1051,12 +1051,14 @@ namespace DS4WinWPF.DS4Forms
|
||||
};
|
||||
actEditor.Saved += (sender2, actionName) =>
|
||||
{
|
||||
DS4Windows.SpecialAction action = DS4Windows.Global.GetAction(actionName);
|
||||
SpecialAction action = Global.GetAction(actionName);
|
||||
SpecialActionItem newitem = specialActionsVM.CreateActionItem(action);
|
||||
newitem.Active = true;
|
||||
specialActionsVM.ActionCol.Add(newitem);
|
||||
specialActionDockPanel.Children.Remove(actEditor);
|
||||
baseSpeActPanel.Visibility = Visibility.Visible;
|
||||
|
||||
specialActionsVM.ExportEnabledActions();
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user