summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Services
diff options
context:
space:
mode:
authorsr55 <[email protected]>2018-05-18 23:43:01 +0100
committersr55 <[email protected]>2018-05-18 23:43:01 +0100
commit6adf898b09e6d214b6629f16632d262630518e5f (patch)
tree5b507a68d08d32643aa9a2764ec2703fef4482e2 /win/CS/HandBrakeWPF/Services
parent6d7a0df56df2c1b4a9e189a9ade834f14ce249b0 (diff)
WinGui: Fix an issue with the Add preset window that prevented it from updating existing non-built-in presets. #1333
Diffstat (limited to 'win/CS/HandBrakeWPF/Services')
-rw-r--r--win/CS/HandBrakeWPF/Services/Presets/PresetService.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs b/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs
index a7d4dbefa..2182c082d 100644
--- a/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs
+++ b/win/CS/HandBrakeWPF/Services/Presets/PresetService.cs
@@ -159,6 +159,12 @@ namespace HandBrakeWPF.Services.Presets
{
this.SavePresetFiles();
}
+
+ return true;
+ }
+ else
+ {
+ this.Update(preset);
return true;
}