From 6561a11661c787817c6ac855096eeeaf3a69bcae Mon Sep 17 00:00:00 2001 From: mschill Date: Mon, 16 Sep 2024 13:10:52 -0400 Subject: [PATCH] B2024-073 Correct Object Reference Error that can occur in debug mode when utilizing Edit item from the Debug toolbar at the bottom of the application. Note - this bug is only in Debug Mode / Is not customer facing. --- PROMS/Volian.Controls.Library/EditItem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PROMS/Volian.Controls.Library/EditItem.cs b/PROMS/Volian.Controls.Library/EditItem.cs index dcc6b668..84fd66a1 100644 --- a/PROMS/Volian.Controls.Library/EditItem.cs +++ b/PROMS/Volian.Controls.Library/EditItem.cs @@ -285,7 +285,7 @@ namespace Volian.Controls.Library } public EditItem ActiveParent { - get { return _MyParentEditItem != null ? _MyParentEditItem : _MyPreviousEditItem.ActiveParent; } + get { return _MyParentEditItem != null ? _MyParentEditItem : _MyPreviousEditItem?.ActiveParent; } } /// /// Return the Parent EditItem -- 2.47.2