summaryrefslogtreecommitdiffstats
path: root/win/CS/frmMain.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/frmMain.cs')
-rw-r--r--win/CS/frmMain.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/win/CS/frmMain.cs b/win/CS/frmMain.cs
index 072b18b2c..599cf31d4 100644
--- a/win/CS/frmMain.cs
+++ b/win/CS/frmMain.cs
@@ -839,6 +839,7 @@ namespace Handbrake
if (openPreset.ShowDialog() == DialogResult.OK)
{
EncodeTask parsed = PlistPresetHandler.Import(openPreset.FileName);
+ PresetLoader.LoadPreset(this, parsed);
if (presetHandler.CheckIfPresetExists(parsed.PresetName))
{
if (!presetHandler.CanUpdatePreset(parsed.PresetName))
@@ -864,8 +865,6 @@ namespace Handbrake
CropSettings = parsed.UsesPictureSettings
};
- PresetLoader.LoadPreset(this, preset);
-
presetHandler.Update(preset);
}
}
@@ -878,7 +877,6 @@ namespace Handbrake
Query = QueryGenerator.GenerateFullQuery(this).Query,
CropSettings = parsed.UsesPictureSettings,
};
- PresetLoader.LoadPreset(this, preset);
if (presetHandler.Add(preset))
{