diff options
author | sr55 <[email protected]> | 2009-07-15 13:47:20 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-07-15 13:47:20 +0000 |
commit | 10842fdfd29f934d72c00ec4ff998f187111ba8a (patch) | |
tree | 802d2a806d910aba6e88b882b2e4936dee7e79fc /win/C#/frmMain.cs | |
parent | 742df70f4ae59aba07e2b094c2f9f4a9efc01a7c (diff) |
WinGui:
- Experimental MacGUI preset import. (Single preset export only)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2694 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmMain.cs')
-rw-r--r-- | win/C#/frmMain.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index aa489325f..3076ae67a 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -367,6 +367,15 @@ namespace Handbrake {
loadNormalPreset();
}
+ private void mnu_importMacPreset_Click(object sender, EventArgs e)
+ {
+ Import imp = new Import();
+ if (openPreset.ShowDialog() == DialogResult.OK)
+ {
+ QueryParser parsed = imp.importMacPreset(openPreset.FileName);
+ PresetLoader.presetLoader(this, parsed, parsed.PresetName, parsed.UsesPictureSettings);
+ }
+ }
private void btn_new_preset_Click(object sender, EventArgs e)
{
Form preset = new frmAddPreset(this, queryGen.generateTheQuery(this), presetHandler);
@@ -1706,7 +1715,6 @@ namespace Handbrake }
#endregion
-
// This is the END of the road ****************************************
}
}
\ No newline at end of file |