From 05a13861acad903fd1d87e9bf70c78e2fef8065c Mon Sep 17 00:00:00 2001 From: mschill Date: Tue, 18 Feb 2025 15:21:19 -0500 Subject: [PATCH] B2025-019 RO Editor - When selecting an RO Definition, clicking the X in the corner or selecting Cancel prompts you to verify you want to close without saving changes when no changes were made if there is Parent/Child & applicability was never set for the in-use fields. --- PROMS/ReferencedObjects/Exe/RefObj/ROEditor/RODefFrm.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PROMS/ReferencedObjects/Exe/RefObj/ROEditor/RODefFrm.cs b/PROMS/ReferencedObjects/Exe/RefObj/ROEditor/RODefFrm.cs index f2dc6f34..e60a329c 100644 --- a/PROMS/ReferencedObjects/Exe/RefObj/ROEditor/RODefFrm.cs +++ b/PROMS/ReferencedObjects/Exe/RefObj/ROEditor/RODefFrm.cs @@ -1584,7 +1584,7 @@ namespace ROEditor if (i + 1 < InUseList.Count) inuserecs = inuserecs + " "; } } - if (inuserecs != origFieldsInUse) + if ((inuserecs ?? "") != (origFieldsInUse ?? "")) return true; @@ -1599,7 +1599,7 @@ namespace ROEditor if (i + 1 < InUseApplcList.Count) applicfieldrecs = applicfieldrecs + " "; } } - if (applicfieldrecs != origApplicFields) + if ((applicfieldrecs ?? "") != (origApplicFields ?? "")) return true; //nothing has changed -- 2.47.2