B2016-130: Copy and paste replace steps causing missing and duplicate items in tree (problems with ‘NextItems’)
This commit is contained in:
1 parent
e8ae40ef7f
commit
20a07c6a3e
12 files changed
+135
-31
No files matched your search
@@ -3393,7 +3393,7 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
}
|
||||
// if on a caution or note check the step below me, which is really my activeparent (cautions/notes are above their respective parent)
|
||||
if ((itm.IsCaution || itm.IsNote) && (itm.NextItem == null || itm.NextItemCount == 0) && (itm.ActiveParent as ItemInfo).SupInfos != null && (itm.ActiveParent as ItemInfo).SupInfos.Count > 0)
|
||||
if ((itm.IsCaution || itm.IsNote) && itm.NextItem == null && (itm.ActiveParent as ItemInfo).SupInfos != null && (itm.ActiveParent as ItemInfo).SupInfos.Count > 0)
|
||||
return GetEditItemFromItemID((itm.ActiveParent as ItemInfo).ItemID);
|
||||
|
||||
// Finally check substeps:
|
||||
|
||||
Reference in new issue
Block a user