diff --git a/PROMS/Volian.Controls.Library/StepTabRibbon.cs b/PROMS/Volian.Controls.Library/StepTabRibbon.cs index 869094d1..a23cd22d 100644 --- a/PROMS/Volian.Controls.Library/StepTabRibbon.cs +++ b/PROMS/Volian.Controls.Library/StepTabRibbon.cs @@ -1586,6 +1586,11 @@ namespace Volian.Controls.Library btnPasteReplace.Enabled = btnCMPasteReplace.Enabled = false; // don't replace itself return; } + if (MyItemInfo.IsSupInfoPart) // before and after are always false: + { + btnPasteAfter.Enabled = btnCMPasteAfter.Enabled = false; + btnPasteBefore.Enabled = btnCMPasteBefore.Enabled = false; + } // for now (Jan 2016 - initial implementation of enhanced document support) do NOT paste any step (MyCopyStep) that has enhanced data associated // with it unless pasting within a enhanced source document. The reason is that code would need to handle clearing the pasted enhanced config // data if it is pasted into a non-enhanced location.