enable/disable of steptabribbon copy/paste buttons
This commit is contained in:
parent
c3a749e780
commit
09508cb204
@ -59,6 +59,8 @@ namespace Volian.Controls.Library
|
||||
StepTabRibbon str = MyStepPanel.MyStepTabPanel.MyStepTabRibbon;
|
||||
str.SiblingsButtonsEnabled = allow;
|
||||
str.InsertButtonsEnabled = allow && !(MyItemInfo.IsProcedure || MyItemInfo.IsSection);
|
||||
// do special case for cpystep button: cannot copy an enhanced step:
|
||||
if (MyItemInfo.IsEnhancedStep) str.SetCopyStepButton(false);
|
||||
}
|
||||
|
||||
public EditItem(IContainer container)
|
||||
|
Loading…
x
Reference in New Issue
Block a user