B2017-101: Supplemental Information Steps: Allow copy step
This commit is contained in:
parent
738089548c
commit
2388bc87a4
@ -61,8 +61,9 @@ namespace Volian.Controls.Library
|
||||
StepTabRibbon str = MyStepPanel.MyStepTabPanel.MyStepTabRibbon;
|
||||
str.SiblingsButtonsEnabled = allow;
|
||||
str.InsertButtonsEnabled = allow && !(MyItemInfo.IsProcedure || MyItemInfo.IsSection || MyItemInfo.IsRNOPart || MyItemInfo.IsSupInfoPart);
|
||||
// do special case for cpystep button: cannot copy an enhanced step:
|
||||
// do special case for cpystep button: cannot copy an enhanced step and can copy a supinfo
|
||||
if (MyItemInfo.IsEnhancedStep) str.SetCopyStepButton(false);
|
||||
if (MyItemInfo.IsSupInfoPart) str.SetCopyStepButton(allow);
|
||||
}
|
||||
|
||||
public EditItem(IContainer container)
|
||||
|
Loading…
x
Reference in New Issue
Block a user