fixes for Enter key logic
This commit is contained in:
@@ -974,7 +974,7 @@ namespace Volian.Controls.Library
|
||||
MyStepRTB.StepRTB_ArrowPressed(E_ArrowKeys.CtrlRight); // jump to RNO
|
||||
else if (deletedRNO)
|
||||
{
|
||||
if (MyStepItem.NextDownStepItem.MyItemInfo.MyParent.Equals(MyStepItem.MyItemInfo))
|
||||
if (MyStepItem.NextDownStepItem.MyItemInfo.MyParent.ItemID == MyStepItem.MyID)
|
||||
{
|
||||
MyStepRTB.StepRTB_ArrowPressed(E_ArrowKeys.CtrlDown);
|
||||
InsertSiblingBeforeOrAfter("before");
|
||||
@@ -1005,8 +1005,12 @@ namespace Volian.Controls.Library
|
||||
else if (MyItemInfo.IsInRNO && MyItemInfo.IsSubStep)
|
||||
{
|
||||
if (deletedEmpty)
|
||||
{
|
||||
MyStepRTB.StepRTB_ArrowPressed(E_ArrowKeys.CtrlLeft);
|
||||
InsertSiblingBeforeOrAfter("after");
|
||||
ShortCutContextMenu("InsRNO"); // create a new RNO
|
||||
}
|
||||
else
|
||||
InsertSiblingBeforeOrAfter("after");
|
||||
}
|
||||
else if (MyItemInfo.IsSubStep)
|
||||
{
|
||||
|
Reference in New Issue
Block a user