diff options
author | sr55 <[email protected]> | 2011-09-24 22:15:17 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2011-09-24 22:15:17 +0000 |
commit | 6edc65ef71072a5ebc519cecf267dbf457bee2a6 (patch) | |
tree | 520a7d265a89f88bc61b0a45a16feae91db00ea9 /win/CS/frmMain.cs | |
parent | f62a6501bae828a835383e6226f3bd86173e36ae (diff) |
WinGui: Some further fixes to the preset code. Plist import fixes. (Still need to update the imported to work with new settings)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4247 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/frmMain.cs')
-rw-r--r-- | win/CS/frmMain.cs | 4 |
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))
{
|