summaryrefslogtreecommitdiffstats
path: root/win/CS
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-09-11 10:41:48 +0000
committersr55 <[email protected]>2011-09-11 10:41:48 +0000
commit2fe0f06304879d6f1ee044ad714afb8e564e6bd1 (patch)
tree73754ff0b6ef9ff38ed8996225c89cc4424ba388 /win/CS
parentbe49b076b861d8be7c1fdb3d1733d4e0cb45cab4 (diff)
WinGui: Correct an issue with updating old presets (from 0.9.5 or earlier) to the latest. Presets were getting duplicated rather than replaced.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4213 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/PresetService.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs b/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs
index d416624dc..12afaadbc 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs
@@ -386,6 +386,7 @@ namespace HandBrake.ApplicationServices.Services
List<Preset> list = (List<Preset>)Ser.Deserialize(reader);
foreach (Preset preset in list)
{
+ preset.IsBuildIn = true; // Older versions did not have this flag so explicitly make sure it is set.
this.presets.Add(preset);
}