From 8f08ef5ee4be4dac67a4294ec2141687fd1d2d27 Mon Sep 17 00:00:00 2001 From: Kevin Laskey Date: Thu, 11 Jul 2024 08:45:18 -0400 Subject: [PATCH] B2024-037 - Slight clean up on parentedititme --- PROMS/Volian.Controls.Library/EditItem.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/PROMS/Volian.Controls.Library/EditItem.cs b/PROMS/Volian.Controls.Library/EditItem.cs index 460594e9..eb7437be 100644 --- a/PROMS/Volian.Controls.Library/EditItem.cs +++ b/PROMS/Volian.Controls.Library/EditItem.cs @@ -1832,10 +1832,9 @@ namespace Volian.Controls.Library } 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; } - //EditItem parentEditItem = MyStepPanel?.SelectedEditItem?.ActiveParent; // ActiveParent; StepConfig savOrigPasteConfig = MyItemInfo.MyConfig as StepConfig; int TopMostYBefore = TopMostEditItem.Top;