diff options
author | sr55 <[email protected]> | 2009-06-11 20:01:57 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2009-06-11 20:01:57 +0000 |
commit | 929760aca797da1c3388e769ce3381bf4935af72 (patch) | |
tree | 29730ba7f60516bc16b5c9139649228562187e6e /win/C#/frmAddPreset.cs | |
parent | 025ec4178852643d51df2003d23a21bd74206a26 (diff) |
WinGui:
- Remove some code which isn't required to handle preset adding/removal/expand/collapse
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2521 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 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();
}
}
|