B2024-037 - Slight clean up on parentedititme

This commit is contained in:
Kevin Laskey 2024-07-11 08:45:18 -04:00
parent fd26f16776
commit 8f08ef5ee4

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;