Fix B2016-218: do not allow insert before/after (another RNO) when on an RNO
This commit is contained in:
parent
6f16095159
commit
72282c3184
@ -59,7 +59,7 @@ namespace Volian.Controls.Library
|
||||
bool allow = (MyStepPanel.VwMode == E_ViewMode.Edit);
|
||||
StepTabRibbon str = MyStepPanel.MyStepTabPanel.MyStepTabRibbon;
|
||||
str.SiblingsButtonsEnabled = allow;
|
||||
str.InsertButtonsEnabled = allow && !(MyItemInfo.IsProcedure || MyItemInfo.IsSection);
|
||||
str.InsertButtonsEnabled = allow && !(MyItemInfo.IsProcedure || MyItemInfo.IsSection || MyItemInfo.IsRNOPart);
|
||||
// do special case for cpystep button: cannot copy an enhanced step:
|
||||
if (MyItemInfo.IsEnhancedStep) str.SetCopyStepButton(false);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user