From 43f183e05bd3ab6ba66f12a2dd810638719f2100 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Sun, 19 Jan 2020 20:11:21 -0600 Subject: [PATCH] Reload Special Action list in Profile after creating a new Special Action --- DS4Windows/DS4Forms/ProfileEditor.xaml.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/DS4Windows/DS4Forms/ProfileEditor.xaml.cs b/DS4Windows/DS4Forms/ProfileEditor.xaml.cs index 5e138ee..0773fc9 100644 --- a/DS4Windows/DS4Forms/ProfileEditor.xaml.cs +++ b/DS4Windows/DS4Forms/ProfileEditor.xaml.cs @@ -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(); }; }