Turned on the ability for Copy Step to copy a high level step to a sub-step level.

This commit is contained in:
John Jenko 2015-05-18 18:02:15 +00:00
parent 1f14a54c3e
commit 86f3339ed5

View File

@ -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)