From 50ae32dc127c31b650ef8bbe277c502fb38af653 Mon Sep 17 00:00:00 2001 From: Rich Date: Wed, 22 Apr 2009 13:08:16 +0000 Subject: [PATCH] Corrected code to use ActiveParent rather than MyParent --- PROMS/Volian.Controls.Library/StepTabRibbon.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/PROMS/Volian.Controls.Library/StepTabRibbon.cs b/PROMS/Volian.Controls.Library/StepTabRibbon.cs index 65df648d..d10b2917 100644 --- a/PROMS/Volian.Controls.Library/StepTabRibbon.cs +++ b/PROMS/Volian.Controls.Library/StepTabRibbon.cs @@ -134,9 +134,8 @@ namespace Volian.Controls.Library if (fromtype == 0) { StepItem hlsStepItem = _MyStepItem; - while (!hlsStepItem.MyItemInfo.IsHigh) - hlsStepItem = hlsStepItem.MyParentStepItem; + hlsStepItem = hlsStepItem.ActiveParent; hlsStepItem.AddSiblingAfter(); // (contenttype); } else