From b52b25d167d76106c8666c788c17e7a33f713f4d Mon Sep 17 00:00:00 2001 From: sr55 Date: Mon, 24 Jun 2019 21:15:49 +0100 Subject: WinGui: Refactor "When Done" to use an enum to avoid language issues. Also change "suspend" to "sleep" to be consistent with the OS. Fixes #2162 --- win/CS/HandBrakeWPF/Services/Presets/PresetService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win/CS/HandBrakeWPF/Services/Presets/PresetService.cs') diff --git a/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs b/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs index 37926a352..01dd40f51 100644 --- a/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs +++ b/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs @@ -711,7 +711,7 @@ namespace HandBrakeWPF.Services.Presets } // Force Upgrade of presets - if (this.userSettingService.GetUserSetting(UserSettingConstants.ForcePresetReset, typeof(int)) < ForcePresetReset) + if (this.userSettingService.GetUserSetting(UserSettingConstants.ForcePresetReset) < ForcePresetReset) { this.userSettingService.SetUserSetting(UserSettingConstants.ForcePresetReset, ForcePresetReset); -- cgit v1.2.3