summaryrefslogtreecommitdiffstats
path: root/win/C#/frmAddPreset.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2008-09-14 20:50:55 +0000
committersr55 <[email protected]>2008-09-14 20:50:55 +0000
commit46b030f0d27838a600d07850e9390a9f579f4317 (patch)
tree956873f3f1ffdd5593e953e5ea9348f807ccde37 /win/C#/frmAddPreset.cs
parentb4e47744bb7cbcfcb3b14cc9b2fbffd1919861d7 (diff)
WinGui:
- Fix: Cropping setting incorrectly set if --crop 0:0:0:0 is used in a preset. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1697 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmAddPreset.cs')
-rw-r--r--win/C#/frmAddPreset.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/C#/frmAddPreset.cs b/win/C#/frmAddPreset.cs
index 898b067e7..1a18c0a17 100644
--- a/win/C#/frmAddPreset.cs
+++ b/win/C#/frmAddPreset.cs
@@ -17,6 +17,7 @@ namespace Handbrake
{
public partial class frmAddPreset : Form
{
+ Functions.Common hb_common_func = new Functions.Common();
private frmMain frmMainWindow;
Functions.Presets presetCode;
@@ -29,7 +30,6 @@ namespace Handbrake
private void btn_add_Click(object sender, EventArgs e)
{
- Functions.Common hb_common_func = new Functions.Common();
String query = hb_common_func.GenerateTheQuery(frmMainWindow);
if (presetCode.addPreset(txt_preset_name.Text.Trim(), query) == true)
@@ -38,5 +38,6 @@ namespace Handbrake
this.Close();
}
}
+
}
} \ No newline at end of file