Fix for updating And type of transitions when steps/substeps are added or removed
This commit is contained in:
parent
89c7496c57
commit
72fed66796
@ -961,6 +961,15 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
if (rangeAncestors.ContainsKey(next.ItemID))
|
if (rangeAncestors.ContainsKey(next.ItemID))
|
||||||
return rangeAncestors[next.ItemID];
|
return rangeAncestors[next.ItemID];
|
||||||
|
if (next.MyDocVersion.DocVersionConfig.SelectedSlave == 0)
|
||||||
|
{
|
||||||
|
while (next.NextItem == null)
|
||||||
|
{
|
||||||
|
next = next.ActiveParent as ItemInfo;
|
||||||
|
if (next == null) throw (new Exception("Cannot find Next Item"));
|
||||||
|
}
|
||||||
|
return next.NextItem;
|
||||||
|
}
|
||||||
while (next.GetNextItem() == null)
|
while (next.GetNextItem() == null)
|
||||||
{
|
{
|
||||||
next = next.ActiveParent as ItemInfo;
|
next = next.ActiveParent as ItemInfo;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user