From e1ddd2c01dd876601c0b8edb26cd3cb448f6df0a Mon Sep 17 00:00:00 2001 From: sr55 Date: Fri, 15 Nov 2019 19:20:12 +0000 Subject: WinGui: Fix an issue with autoname file format not being stored correctly. Fixes #2422 (cherry picked from commit 6b456f00d3cb720e940959c6fc9963eacdec8bc3) --- win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win/CS/HandBrakeWPF/ViewModels') diff --git a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs index bc8c241bd..0be6a26a7 100644 --- a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs @@ -1614,7 +1614,7 @@ namespace HandBrakeWPF.ViewModels this.userSettingService.SetUserSetting(UserSettingConstants.AutoNaming, this.AutomaticallyNameFiles); this.userSettingService.SetUserSetting(UserSettingConstants.AutoNameFormat, this.AutonameFormat); this.userSettingService.SetUserSetting(UserSettingConstants.AutoNamePath, this.AutoNameDefaultPath); - this.userSettingService.SetUserSetting(UserSettingConstants.UseM4v, this.SelectedMp4Extension); + this.userSettingService.SetUserSetting(UserSettingConstants.UseM4v, (int)this.SelectedMp4Extension); this.userSettingService.SetUserSetting(UserSettingConstants.AutoNameRemoveUnderscore, this.RemoveUnderscores); this.userSettingService.SetUserSetting(UserSettingConstants.AutoNameTitleCase, this.ChangeToTitleCase); this.userSettingService.SetUserSetting(UserSettingConstants.RemovePunctuation, this.RemovePunctuation); -- cgit v1.2.3