From 2fe0f06304879d6f1ee044ad714afb8e564e6bd1 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sun, 11 Sep 2011 10:41:48 +0000 Subject: 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 --- win/CS/HandBrake.ApplicationServices/Services/PresetService.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'win/CS/HandBrake.ApplicationServices') 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 list = (List)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); } -- cgit v1.2.3