diff --git a/PROMS/Formats/fmtall/BASEall.xml b/PROMS/Formats/fmtall/BASEall.xml index c0a54ec6..54405046 100644 Binary files a/PROMS/Formats/fmtall/BASEall.xml and b/PROMS/Formats/fmtall/BASEall.xml differ diff --git a/PROMS/Formats/fmtall/GENall.xml b/PROMS/Formats/fmtall/GENall.xml index c66757f5..92e8e74e 100644 Binary files a/PROMS/Formats/fmtall/GENall.xml and b/PROMS/Formats/fmtall/GENall.xml differ diff --git a/PROMS/Formats/genmacall/gen.svg b/PROMS/Formats/genmacall/gen.svg index 051987de..cc0f8d67 100644 Binary files a/PROMS/Formats/genmacall/gen.svg and b/PROMS/Formats/genmacall/gen.svg differ diff --git a/PROMS/Volian.Controls.Library/DisplaySearch.cs b/PROMS/Volian.Controls.Library/DisplaySearch.cs index 5d360a15..9f0d5402 100644 --- a/PROMS/Volian.Controls.Library/DisplaySearch.cs +++ b/PROMS/Volian.Controls.Library/DisplaySearch.cs @@ -1833,7 +1833,10 @@ namespace Volian.Controls.Library if (_ItemInfo != null) { _OpenDocFromSearch = true; - DisplayTabItem dti = _TabControl.OpenItem(_ItemInfo); // open the corresponding procedure text + // B2023-089: selecting a deleted item from search results shows deleted step in the editor when the StepTabItem for + // the deleted item was displayed but is not the active StepTabItem. Use its procedure if it was deleted + ItemInfo openItem = _ItemInfo.IsDeleted ? ItemInfo.Get(_ItemInfo.MyProcedure == null ? _ItemInfo.ItemID : _ItemInfo.MyProcedure.ItemID) : _ItemInfo; + DisplayTabItem dti = _TabControl.OpenItem(openItem); // open the corresponding procedure text if (dti != null) { if (dti.MyDSOTabPanel != null)