diff --git a/PROMS/Volian.Controls.Library/StepTabRibbon.cs b/PROMS/Volian.Controls.Library/StepTabRibbon.cs index 7267fc78..db08c294 100644 --- a/PROMS/Volian.Controls.Library/StepTabRibbon.cs +++ b/PROMS/Volian.Controls.Library/StepTabRibbon.cs @@ -363,9 +363,9 @@ namespace Volian.Controls.Library } btnInsPgBrk.Enabled = MyItemInfo.IsHigh; btnEditMode.Checked = btnCMEditMode1.Checked = MyStepItem.MyStepPanel.PanelViewEditMode != E_ViewMode.View; - - // if on procedure or section 'change type' & 'insert' buttons should be disabled. - if (MyItemInfo.IsProcedure) btnDelelete.Enabled = btnDelStep.Enabled = false; + // if on procedure, 'Delete' buttons should be disabled. + btnDelelete.Enabled = btnDelStep.Enabled = ! MyItemInfo.IsProcedure; + // if on procedure or section, 'change type' & 'insert' buttons should be disabled. if (MyItemInfo.IsProcedure || MyItemInfo.IsSection) { btnChgTyp.Enabled = false;