internal void SaveChangesToFile() { try { ControlMapper.SaveConfigurationToFile(Path.Combine(Sys.PathToControlsFolder, InGameConfigurationMap[SelectedGameConfigOption]), LoadedConfiguration); HasUnsavedChanges = false; } catch (Exception e) { Logger.Error(e); //StatusMessage = $"{ResourceHelper.Get(StringKey.FailedToDeleteCustomControls)}: {e.Message}"; } }