This commit is contained in:
parent
9faa57882c
commit
7df59aa377
@ -1116,6 +1116,8 @@ namespace Volian.Controls.Library
|
|||||||
if(parentStepItem.MyRNOStepItems.Count == 0)
|
if(parentStepItem.MyRNOStepItems.Count == 0)
|
||||||
parentStepItem.MyRNOStepItems = null;
|
parentStepItem.MyRNOStepItems = null;
|
||||||
}
|
}
|
||||||
|
if (parentStepItem.MyAfterStepItems == null && parentStepItem.MyBeforeStepItems == null && parentStepItem.MyRNOStepItems == null)
|
||||||
|
parentStepItem.CanExpand = false;
|
||||||
}
|
}
|
||||||
//private void ShowSiblings(string title)
|
//private void ShowSiblings(string title)
|
||||||
//{
|
//{
|
||||||
@ -1204,11 +1206,13 @@ namespace Volian.Controls.Library
|
|||||||
}
|
}
|
||||||
public void AddSiblingAfter(string text)
|
public void AddSiblingAfter(string text)
|
||||||
{
|
{
|
||||||
|
MyStepRTB.SaveText();
|
||||||
ItemInfo newItemInfo = MyItemInfo.InsertSiblingAfter(text);
|
ItemInfo newItemInfo = MyItemInfo.InsertSiblingAfter(text);
|
||||||
DoAddSiblingAfter(newItemInfo);
|
DoAddSiblingAfter(newItemInfo);
|
||||||
}
|
}
|
||||||
public void AddSiblingAfter(int? type)
|
public void AddSiblingAfter(int? type)
|
||||||
{
|
{
|
||||||
|
MyStepRTB.SaveText();
|
||||||
ItemInfo newItemInfo = MyItemInfo.InsertSiblingAfter("","",type);
|
ItemInfo newItemInfo = MyItemInfo.InsertSiblingAfter("","",type);
|
||||||
DoAddSiblingAfter(newItemInfo);
|
DoAddSiblingAfter(newItemInfo);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user