Corrected code to use ActiveParent rather than MyParent
This commit is contained in:
parent
ef17632874
commit
50ae32dc12
@ -134,9 +134,8 @@ namespace Volian.Controls.Library
|
|||||||
if (fromtype == 0)
|
if (fromtype == 0)
|
||||||
{
|
{
|
||||||
StepItem hlsStepItem = _MyStepItem;
|
StepItem hlsStepItem = _MyStepItem;
|
||||||
|
|
||||||
while (!hlsStepItem.MyItemInfo.IsHigh)
|
while (!hlsStepItem.MyItemInfo.IsHigh)
|
||||||
hlsStepItem = hlsStepItem.MyParentStepItem;
|
hlsStepItem = hlsStepItem.ActiveParent;
|
||||||
hlsStepItem.AddSiblingAfter(); // (contenttype);
|
hlsStepItem.AddSiblingAfter(); // (contenttype);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user