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.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/win/C#/frmAddPreset.cs b/win/C#/frmAddPreset.cs
index 56bc5f5c1..ca726c09b 100644
--- a/win/C#/frmAddPreset.cs
+++ b/win/C#/frmAddPreset.cs
@@ -5,6 +5,7 @@
It may be used under the terms of the GNU General Public License. */
using System;
+using System.Drawing;
using System.Windows.Forms;
namespace Handbrake
@@ -31,7 +32,10 @@ namespace Handbrake
if (presetCode.addPreset(txt_preset_name.Text.Trim(), query, pictureSettings))
{
- frmMainWindow.loadPresetPanel();
+ TreeNode preset_treeview = new TreeNode(txt_preset_name.Text.Trim()) { ForeColor = Color.Black };
+ frmMainWindow.treeView_presets.Nodes.Add(preset_treeview);
+
+ //frmMainWindow.loadPresetPanel();
this.Close();
}
}