diff options
author | sr55 <[email protected]> | 2008-12-30 22:47:48 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2008-12-30 22:47:48 +0000 |
commit | 382ca3aad89ad78b1c074ee0c272939dd80dc888 (patch) | |
tree | 6706fde00864b7f61b166b9700f7df4b11911a77 /win/C#/frmAddPreset.cs | |
parent | eef37cf07dc0a9c28b938688469ca0bbdbe35720 (diff) |
WinGui:
- Set Default now set's the currently selected preset to default, not the current settings.
- Add Preset can now optionally add a flag to allow saving of picture size information (just like the macgui)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2052 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmAddPreset.cs')
-rw-r--r-- | win/C#/frmAddPreset.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/win/C#/frmAddPreset.cs b/win/C#/frmAddPreset.cs index 3fa157d40..67dbfa95e 100644 --- a/win/C#/frmAddPreset.cs +++ b/win/C#/frmAddPreset.cs @@ -31,7 +31,11 @@ namespace Handbrake private void btn_add_Click(object sender, EventArgs e)
{
- if (presetCode.addPreset(txt_preset_name.Text.Trim(), query) == true)
+ Boolean pictureSettings = false;
+ if (check_pictureSettings.Checked)
+ pictureSettings = true;
+
+ if (presetCode.addPreset(txt_preset_name.Text.Trim(), query, pictureSettings) == true)
{
frmMainWindow.loadPresetPanel();
this.Close();
|