From 86f3339ed59a8b0bb05b02b30410f31a36fda2a8 Mon Sep 17 00:00:00 2001 From: John Date: Mon, 18 May 2015 18:02:15 +0000 Subject: [PATCH] Turned on the ability for Copy Step to copy a high level step to a sub-step level. --- PROMS/Volian.Controls.Library/StepTabRibbon.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/PROMS/Volian.Controls.Library/StepTabRibbon.cs b/PROMS/Volian.Controls.Library/StepTabRibbon.cs index f3943942..9d4fdb7c 100644 --- a/PROMS/Volian.Controls.Library/StepTabRibbon.cs +++ b/PROMS/Volian.Controls.Library/StepTabRibbon.cs @@ -995,9 +995,11 @@ namespace Volian.Controls.Library //copy item is high level step if (tmp.MyDisplayTabControl.MyCopyStep.IsHigh && !MyItemInfo.IsHigh) { - btnPasteBefore.Enabled = btnCMPasteBefore.Enabled = false; - btnPasteAfter.Enabled = btnCMPasteAfter.Enabled = false; - btnPasteReplace.Enabled = btnCMPasteReplace.Enabled = false; + // commenting these lines out allows us to use Copy Step to copy a High Level Step + // to a sub-step level. - 05/18/2015 jsj + //btnPasteBefore.Enabled = btnCMPasteBefore.Enabled = false; + //btnPasteAfter.Enabled = btnCMPasteAfter.Enabled = false; + //btnPasteReplace.Enabled = btnCMPasteReplace.Enabled = false; return; } if (tmp.MyDisplayTabControl.MyCopyStep.IsHigh && MyItemInfo.IsHigh && tmp.MyDisplayTabControl.MyCopyStep.ItemID == MyItemInfo.ItemID)