This commit is contained in:
parent
e730a3193e
commit
b46aa35642
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user