From 19351430174cb7e419473f0d55508080d5c89d70 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Wed, 18 Mar 2020 23:49:05 -0500 Subject: [PATCH] Only recalculate associated special action info in certain situations Removes some work added in previous commit --- DS4Windows/DS4Forms/ProfileEditor.xaml.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/DS4Windows/DS4Forms/ProfileEditor.xaml.cs b/DS4Windows/DS4Forms/ProfileEditor.xaml.cs index 9df5ebf..93f75f2 100644 --- a/DS4Windows/DS4Forms/ProfileEditor.xaml.cs +++ b/DS4Windows/DS4Forms/ProfileEditor.xaml.cs @@ -596,7 +596,7 @@ namespace DS4WinWPF.DS4Forms window.ShowDialog(); mpControl.UpdateMappingName(); UpdateHighlightLabel(mpControl); - Global.CacheExtraProfileInfo(profileSettingsVM.Device); + Global.cacheProfileCustomsFlags(profileSettingsVM.Device); } private void InputControlHighlight(Button control) @@ -1241,7 +1241,7 @@ namespace DS4WinWPF.DS4Forms window.ShowDialog(); mpControl.UpdateMappingName(); UpdateHighlightLabel(mpControl); - Global.CacheExtraProfileInfo(profileSettingsVM.Device); + Global.cacheProfileCustomsFlags(profileSettingsVM.Device); } private void MappingListBox_MouseDoubleClick(object sender, MouseButtonEventArgs e) @@ -1276,7 +1276,7 @@ namespace DS4WinWPF.DS4Forms window.ShowDialog(); mpControl.UpdateMappingName(); UpdateHighlightLabel(mpControl); - Global.CacheExtraProfileInfo(profileSettingsVM.Device); + Global.cacheProfileCustomsFlags(profileSettingsVM.Device); } private void SwipeControlsButton_Click(object sender, RoutedEventArgs e) @@ -1289,7 +1289,7 @@ namespace DS4WinWPF.DS4Forms window.ShowDialog(); mpControl.UpdateMappingName(); UpdateHighlightLabel(mpControl); - Global.CacheExtraProfileInfo(profileSettingsVM.Device); + Global.cacheProfileCustomsFlags(profileSettingsVM.Device); } private void ConBtn_MouseRightButtonUp(object sender, MouseButtonEventArgs e) @@ -1319,7 +1319,7 @@ namespace DS4WinWPF.DS4Forms mpControl.UpdateMappingName(); } - Global.CacheExtraProfileInfo(profileSettingsVM.Device); + Global.cacheProfileCustomsFlags(profileSettingsVM.Device); highlightControlDisplayLb.Content = ""; } }