- Fix Normal preset not getting loaded if user didn't have default settings set.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1900
b64f7644-9d1e-0410-96f1-
a4d463321fa5
#region Functions\r
private void loadNormalPreset()\r
{\r
+ treeView_presets.Nodes.Find("Normal", true);\r
+\r
foreach (TreeNode treenode in treeView_presets.Nodes)\r
{\r
- if (treenode.Text.ToString().Equals("Normal"))\r
- treeView_presets.SelectedNode = treeView_presets.Nodes[treenode.Index];\r
+ foreach (TreeNode node in treenode.Nodes)\r
+ {\r
+ if (node.Text.ToString().Equals("Normal"))\r
+ treeView_presets.SelectedNode = treeView_presets.Nodes[treenode.Index].Nodes[0];\r
+ }\r
}\r
}\r
#endregion\r