B2017-209: Restoring an enhanced step whose source step is deleted causes crash

This commit is contained in:
2017-09-21 14:08:20 +00:00
parent 77c7cb6d6b
commit fbc4b42ff1
3 changed files with 18 additions and 6 deletions

View File

@@ -884,7 +884,7 @@ namespace VEPROMS.CSLA.Library
{
// the RemoveEnhancedFromConfig method clears from the pasted step and any cautions/notes that may be off
// of the pasted step.
if (pasteItem.HasEnhancedLinkedStep) ItemInfo.RemoveEnhancedFromConfig(pasteItem);
if (pasteItem.HasEnhancedLinkedStep) ItemInfo.RemoveEnhancedFromConfig(pasteItem, false);
}
}
#endregion