B2019-136 When using the Entry key enter steps, if there is only one High Level Step type, don’t display the popup menu, just insert a new high level step (after) the current one
This commit is contained in:
parent
c452ad5e13
commit
955c35bab1
@ -3451,7 +3451,13 @@ namespace Volian.Controls.Library
|
|||||||
if (!deletedHLS)
|
if (!deletedHLS)
|
||||||
{
|
{
|
||||||
if (deletedSubStep)
|
if (deletedSubStep)
|
||||||
|
{
|
||||||
|
// B2019-136 if only one high level step type, don't display a pop up menu of high level step types
|
||||||
|
if (btnCMInsHLS.SubItems.Count > 1)
|
||||||
SetShortCutContextMenu("InsHLS");
|
SetShortCutContextMenu("InsHLS");
|
||||||
|
else
|
||||||
|
InsertSiblingBeforeOrAfter("after");
|
||||||
|
}
|
||||||
else if (MyEditItem.MyRNOEditItems != null && MyEditItem.MyRNOEditItems.Count > 0)
|
else if (MyEditItem.MyRNOEditItems != null && MyEditItem.MyRNOEditItems.Count > 0)
|
||||||
MyStepRTB.StepRTB_ArrowPressed(E_ArrowKeys.CtrlRight); // jump to RNO
|
MyStepRTB.StepRTB_ArrowPressed(E_ArrowKeys.CtrlRight); // jump to RNO
|
||||||
else if (deletedRNO)
|
else if (deletedRNO)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user