diff options
author | sr55 <[email protected]> | 2019-06-24 21:15:49 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2019-06-24 21:16:01 +0100 |
commit | b52b25d167d76106c8666c788c17e7a33f713f4d (patch) | |
tree | a01ff14c78959c9b4151819c78e46701c1cbf53b /win/CS/HandBrakeWPF/Services/Presets/PresetService.cs | |
parent | 1613a41853551dedc5b3219f05ed32aacbc85b79 (diff) |
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
Diffstat (limited to 'win/CS/HandBrakeWPF/Services/Presets/PresetService.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Presets/PresetService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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<int>(UserSettingConstants.ForcePresetReset, typeof(int)) < ForcePresetReset)
+ if (this.userSettingService.GetUserSetting<int>(UserSettingConstants.ForcePresetReset) < ForcePresetReset)
{
this.userSettingService.SetUserSetting(UserSettingConstants.ForcePresetReset, ForcePresetReset);
|