P/C PC - Fixed range transition logic so that transitions to steps which are affected by applicability will show the correct step number for the first through the last step.

This commit is contained in:
Rich 2014-05-21 21:43:43 +00:00
parent dc3d894195
commit 821103fc87

View File

@ -961,12 +961,12 @@ namespace VEPROMS.CSLA.Library
{
if (rangeAncestors.ContainsKey(next.ItemID))
return rangeAncestors[next.ItemID];
while (next.NextItem == null)
while (next.GetNextItem() == null)
{
next = next.ActiveParent as ItemInfo;
if(next == null) throw(new Exception("Cannot find Next Item"));
}
return next.NextItem;
return next.GetNextItem();
}
private static bool AddOptionalTranGetSectionHdr(TransitionBuilder tb)
{