Reset the ribbon buttons enabling when a procedure tab is selected to fix <Shift><F5> issue so that Copy Step Paste options menu pops up B2016-148
This commit is contained in:
parent
1c82a65d0e
commit
ffa8edbdd3
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user