diff --git a/PROMS/Volian.Controls.Library/StepTabRibbon.cs b/PROMS/Volian.Controls.Library/StepTabRibbon.cs index 1b7bec16..0dee3df9 100644 --- a/PROMS/Volian.Controls.Library/StepTabRibbon.cs +++ b/PROMS/Volian.Controls.Library/StepTabRibbon.cs @@ -700,7 +700,9 @@ namespace Volian.Controls.Library if (_MyStepRTB == null) return; // if we are in view mode or the edit window is empty, then don't allow inserting steps/substeps, // page breaks, copy step, nor creating a pdf - bool allow = (_MyStepRTB.TextLength > 0 && (MyEditItem == null || MyEditItem.MyStepPanel.VwMode == E_ViewMode.Edit)); + // B2021-083: Create PDF button on ribbon was disabled for reviewer (removed code). Note that this allow + // is only used for the Create Pdf button now - code has changed for any other use. + bool allow = (_MyStepRTB.TextLength > 0); //// turn ribbon items on/off base on whether there is text in the edit window //rbnSiblings.Enabled = rbnParagraph.Enabled = rbnStepParts.Enabled = allow;