Development #359
@ -2565,13 +2565,10 @@ namespace VEPROMS.CSLA.Library
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
//Create tree node for copied procedure when no other procedures exist in the folder
|
//Create tree node for copied procedure when no other procedures exist in the folder
|
||||||
VETreeNode vtn = treeNodeReplace as VETreeNode;
|
VETreeNode tn = null;
|
||||||
DocVersionInfo dvi = vtn.VEObject as DocVersionInfo;
|
tn = new VETreeNode(newItemInfo);
|
||||||
|
treeNodeReplace.Nodes.Add(tn);
|
||||||
ItemInfo newProc = dvi.PasteChild(copyStartID);
|
treeNodeReplace = tn;
|
||||||
VETreeNode tn1 = new VETreeNode(newProc);
|
|
||||||
treeNodeReplace.Nodes.Add(tn1); // add tree node to end of list.
|
|
||||||
treeNodeReplace = tn1;
|
|
||||||
}
|
}
|
||||||
return newItemInfo;
|
return newItemInfo;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user