C2017-031 Extend Copy / Paste Replace Functionality for Enhanced Background Steps

This commit is contained in:
2024-09-30 15:02:35 -04:00
parent 63cac73de3
commit bb45e551a3
7 changed files with 857 additions and 410 deletions

View File

@@ -1944,7 +1944,8 @@ namespace Volian.Controls.Library
sia.IdentifyChildren(highlight);
}
}
if (MyBeforeEditItems != null)
// C2017-031: Support for paste/replace an enhanced step: don't identify/copy before items, i.e. notes/cautions
if (MyBeforeEditItems != null && !MyItemInfo.IsEnhancedStep)
{
foreach (EditItem sib in MyBeforeEditItems)
{