From 2558b99b690d3cbce4d6867f7e0d29e7245a3409 Mon Sep 17 00:00:00 2001 From: John Date: Mon, 21 Mar 2022 18:21:26 +0000 Subject: [PATCH] B2022-034, B2022-040 Unit designators were not being displayed properly in the editor if a Parent/Child procedure is printed (from the tree) before opened in the editor. --- PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs index c073a287..9a5ea637 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs @@ -3822,7 +3822,10 @@ namespace VEPROMS.CSLA.Library try { ReadData(dr); - //AddContent(dr); // B2022-025: memory leak. Content gets added in other places - this was adding it twice. + AddContent(dr); // B2022-025: memory leak. Content gets added in other places - this was adding it twice. + // B2022-034 & B2022-040: needed to un-comment the AddContent(), previous bug fix (B2022-025) + // caused the unit designators (BNPP NOPs) to show resolved in the editor + // when the procedure was printed (from tree) for a specific unit prior to editing } catch (Exception ex) {