Corrected code to use ActiveParent rather than MyParent

This commit is contained in:
Rich 2009-04-22 13:08:16 +00:00
parent ef17632874
commit 50ae32dc12

View File

@ -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