B2024-037: Bug fix for copy/replace functionality on procedures and steps. #349

Merged
jjenko merged 4 commits from B2024-037 into Development 2024-07-11 10:54:10 -04:00
Showing only changes of commit 8f08ef5ee4 - Show all commits

View File

@ -1832,10 +1832,9 @@ namespace Volian.Controls.Library
} }
catch (NullReferenceException) catch (NullReferenceException)
{ {
// Handle the case where ActiveParent throws a NullReferenceException // KL 7/11/2024 - Handle the case where ActiveParent throws a Null Reference Exception
parentEditItem = MyStepPanel?.SelectedEditItem?.ActiveParent; parentEditItem = MyStepPanel?.SelectedEditItem?.ActiveParent;
} }
//EditItem parentEditItem = MyStepPanel?.SelectedEditItem?.ActiveParent; // ActiveParent;
StepConfig savOrigPasteConfig = MyItemInfo.MyConfig as StepConfig; StepConfig savOrigPasteConfig = MyItemInfo.MyConfig as StepConfig;
int TopMostYBefore = TopMostEditItem.Top; int TopMostYBefore = TopMostEditItem.Top;