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.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/win/C#/frmAddPreset.cs b/win/C#/frmAddPreset.cs
index 1a18c0a17..44e99105d 100644
--- a/win/C#/frmAddPreset.cs
+++ b/win/C#/frmAddPreset.cs
@@ -30,7 +30,7 @@ namespace Handbrake
private void btn_add_Click(object sender, EventArgs e)
{
- String query = hb_common_func.GenerateTheQuery(frmMainWindow);
+ String query = hb_common_func.generateTabbedComponentsQuery(frmMainWindow);
if (presetCode.addPreset(txt_preset_name.Text.Trim(), query) == true)
{
@@ -39,5 +39,10 @@ namespace Handbrake
}
}
+ private void btn_cancel_Click(object sender, EventArgs e)
+ {
+ this.Close();
+ }
+
}
} \ No newline at end of file