diff --git a/PROMS/VEPROMS.CSLA.Library/VEObjects/VETreeNode.cs b/PROMS/VEPROMS.CSLA.Library/VEObjects/VETreeNode.cs index 84144597..7213a1dc 100644 --- a/PROMS/VEPROMS.CSLA.Library/VEObjects/VETreeNode.cs +++ b/PROMS/VEPROMS.CSLA.Library/VEObjects/VETreeNode.cs @@ -330,7 +330,7 @@ namespace VEPROMS.CSLA.Library { VETreeNode sibnode = grndparnode.Nodes[0] as VETreeNode; PartInfo pisib = sibnode.VEObject as PartInfo; - if (pisib != null && (pisib.ToString() == "Sections" || pisib.ToString() == "Steps")) + if (pisib != null && (pisib.ToString() == "Steps")) { if (!sibnode.ChildrenLoaded) sibnode.LoadChildren(); while (sibnode.Nodes.Count > 0) @@ -428,7 +428,7 @@ namespace VEPROMS.CSLA.Library _ChildrenLoaded = false; ResetNode("Dummy myItemInfo_NewChild"); ItemInfo item = VEObject as ItemInfo; - if (isExpanded && item != null && item.MyContent.ContentPartCount >1) // || args.ItemInserted.NextItem != null || args.ItemInserted.MyPrevious != null)) + if (isExpanded && item != null && item.MyContent.ContentPartCount > 1) // || args.ItemInserted.NextItem != null || args.ItemInserted.MyPrevious != null)) Expand(); else Collapse();