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 … #521

Merged
jjenko merged 1 commits from B2025-019 into Development 2025-02-18 15:38:10 -05:00
Showing only changes of commit 05a13861ac - Show all commits

View File

@ -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