diff options
Diffstat (limited to 'win')
-rw-r--r-- | win/C#/frmMain.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index 2888dad41..0aff287cf 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -1553,10 +1553,15 @@ namespace Handbrake #region Functions
private void loadNormalPreset()
{
+ treeView_presets.Nodes.Find("Normal", true);
+
foreach (TreeNode treenode in treeView_presets.Nodes)
{
- if (treenode.Text.ToString().Equals("Normal"))
- treeView_presets.SelectedNode = treeView_presets.Nodes[treenode.Index];
+ foreach (TreeNode node in treenode.Nodes)
+ {
+ if (node.Text.ToString().Equals("Normal"))
+ treeView_presets.SelectedNode = treeView_presets.Nodes[treenode.Index].Nodes[0];
+ }
}
}
#endregion
|