diff --git a/PROMS/Volian.Controls.Library/DisplayRO.cs b/PROMS/Volian.Controls.Library/DisplayRO.cs index c420dfa8..b5acdb7d 100644 --- a/PROMS/Volian.Controls.Library/DisplayRO.cs +++ b/PROMS/Volian.Controls.Library/DisplayRO.cs @@ -587,6 +587,13 @@ namespace Volian.Controls.Library if (forceReload || RoTreeNeedsReloaded || tvROFST.Nodes == null || tvROFST.Nodes.Count <= 0) { + //B2025-008 + //in cases where a RO table is clicked on + //it will refresh the list + //temp store what the ROID was before the list refreshes + //so can go to it after the refresh + string tmpROID = CurROLink?.ROID; + ROFSTLookup.rodbi[] dbs = MyROFSTLookup.GetRODatabaseList(true); // B2022-123: RO Tab Treeview not showing correct RO values when switching between procedures. @@ -609,6 +616,8 @@ namespace Volian.Controls.Library _currDocVersionID = null; if(_docVersionInfo != null) _currDocVersionID = (int?)_docVersionInfo.VersionID; + + if (tmpROID != null) ExpandNode(ROFSTLookup.FormatRoidKey(tmpROID, true)); } var unitInfoNode = tvROFST.Nodes.Cast().Where(x => x.Text == "Unit Information").FirstOrDefault();