diff options
author | sr55 <[email protected]> | 2021-01-07 20:44:09 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2021-01-07 20:44:09 +0000 |
commit | 7e879d997999af0ba6981aca685adc615f3d06b5 (patch) | |
tree | 4ed76fb21b2d549ebe8392c1bff34ff772435b4d /win/CS/HandBrakeWPF | |
parent | 21247b289f81fee48338c805dccc776a69aa0d62 (diff) |
WinGui: Fix typo on new preset pane and fix an issue with mis-detecting preset type for user presets.
Diffstat (limited to 'win/CS/HandBrakeWPF')
-rw-r--r-- | win/CS/HandBrakeWPF/Properties/Resources.Designer.cs | 2 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Properties/Resources.resx | 2 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Presets/PresetService.cs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/win/CS/HandBrakeWPF/Properties/Resources.Designer.cs b/win/CS/HandBrakeWPF/Properties/Resources.Designer.cs index f3f16e8b7..7b24025d1 100644 --- a/win/CS/HandBrakeWPF/Properties/Resources.Designer.cs +++ b/win/CS/HandBrakeWPF/Properties/Resources.Designer.cs @@ -2623,7 +2623,7 @@ namespace HandBrakeWPF.Properties { } /// <summary> - /// Looks up a localized string similar to Build in presets can not be modified.. + /// Looks up a localized string similar to Built in presets can not be modified.. /// </summary> public static string ManagePresetView_RestrictedPreset { get { diff --git a/win/CS/HandBrakeWPF/Properties/Resources.resx b/win/CS/HandBrakeWPF/Properties/Resources.resx index f8087b8ad..03123ae38 100644 --- a/win/CS/HandBrakeWPF/Properties/Resources.resx +++ b/win/CS/HandBrakeWPF/Properties/Resources.resx @@ -2326,7 +2326,7 @@ Please choose a different preset.</value> <value>Preset Information:</value>
</data>
<data name="ManagePresetView_RestrictedPreset" xml:space="preserve">
- <value>Build in presets can not be modified.</value>
+ <value>Built in presets can not be modified.</value>
</data>
<data name="ManagePresetView_SetDefault" xml:space="preserve">
<value>Set selected preset as default</value>
diff --git a/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs b/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs index 748e69a0a..67eca9d6a 100644 --- a/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs +++ b/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs @@ -700,7 +700,7 @@ namespace HandBrakeWPF.Services.Presets {
Preset preset = JsonPresetFactory.ImportPreset(hbPreset);
preset.Category = UserPresetCatgoryName;
- preset.IsBuildIn = hbPreset.Type == 1;
+ preset.IsBuildIn = hbPreset.Type == 0;
preset.IsPresetDisabled = this.IsPresetDisabled(preset);
this.Add(preset, true);
|