This commit is contained in:
parent
62334a105d
commit
8b9c2c20d9
@ -339,7 +339,7 @@ namespace Volian.Controls.Library
|
|||||||
tmp = new TreeNode(chld[i].title.Replace(@"\u160?"," "));
|
tmp = new TreeNode(chld[i].title.Replace(@"\u160?"," "));
|
||||||
tmp.Tag = chld[i];
|
tmp.Tag = chld[i];
|
||||||
if (chld[i].roid.Length == 16)
|
if (chld[i].roid.Length == 16)
|
||||||
tn.Nodes.Add(tmp.Text);
|
tn.Nodes.Add(tmp);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
int index = FindIndex(tn.Nodes, tmp.Text);
|
int index = FindIndex(tn.Nodes, tmp.Text);
|
||||||
@ -489,11 +489,14 @@ namespace Volian.Controls.Library
|
|||||||
tnExpand.Expand();
|
tnExpand.Expand();
|
||||||
foreach (TreeNode tn in tnExpand.Nodes)
|
foreach (TreeNode tn in tnExpand.Nodes)
|
||||||
{
|
{
|
||||||
ROFSTLookup.rochild chld = (ROFSTLookup.rochild)tn.Tag;
|
if (tn.Tag != null)
|
||||||
if (chld.roid == roid)
|
|
||||||
{
|
{
|
||||||
tnExpand = tn;
|
ROFSTLookup.rochild chld = (ROFSTLookup.rochild)tn.Tag;
|
||||||
break;
|
if (chld.roid.ToUpper() == roid.ToUpper())
|
||||||
|
{
|
||||||
|
tnExpand = tn;
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user