diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.cs index 3114c506..2679525c 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.cs @@ -2978,6 +2978,13 @@ namespace VEPROMS btnPrint.Visible = false; else btnPrint.Visible = true; + // Reset the ribbon buttons B2016-148 (ex. a copystep done in a different procedure tab my require the paste step options to be active + if (tc.SelectedDisplayTabItem != null && tc.SelectedDisplayTabItem.MyStepTabPanel != null) // MyStepTabPanel will be null if the active tab is a Word Attachment + { + StepPanel pnl = tc.SelectedDisplayTabItem.MyStepTabPanel.MyStepPanel; + if (pnl != null) + pnl.MyStepTabPanel.MyStepTabRibbon.SetButtonAndMenuEnabling(true); + } } private void tc_StepPanelModeChange(object sender, StepRTBModeChangeEventArgs args) {