summaryrefslogtreecommitdiffstats
path: root/win/C#/frmAddPreset.cs
diff options
context:
space:
mode:
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