B2025-008 PROMS - Display RO Step Properties - RO Tables #496
@ -587,6 +587,13 @@ namespace Volian.Controls.Library
|
|||||||
|
|
||||||
if (forceReload || RoTreeNeedsReloaded || tvROFST.Nodes == null || tvROFST.Nodes.Count <= 0)
|
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);
|
ROFSTLookup.rodbi[] dbs = MyROFSTLookup.GetRODatabaseList(true);
|
||||||
|
|
||||||
// B2022-123: RO Tab Treeview not showing correct RO values when switching between procedures.
|
// B2022-123: RO Tab Treeview not showing correct RO values when switching between procedures.
|
||||||
@ -609,6 +616,8 @@ namespace Volian.Controls.Library
|
|||||||
_currDocVersionID = null;
|
_currDocVersionID = null;
|
||||||
|
|
||||||
if(_docVersionInfo != null) _currDocVersionID = (int?)_docVersionInfo.VersionID;
|
if(_docVersionInfo != null) _currDocVersionID = (int?)_docVersionInfo.VersionID;
|
||||||
|
|
||||||
|
if (tmpROID != null) ExpandNode(ROFSTLookup.FormatRoidKey(tmpROID, true));
|
||||||
}
|
}
|
||||||
|
|
||||||
var unitInfoNode = tvROFST.Nodes.Cast<TreeNode>().Where(x => x.Text == "Unit Information").FirstOrDefault();
|
var unitInfoNode = tvROFST.Nodes.Cast<TreeNode>().Where(x => x.Text == "Unit Information").FirstOrDefault();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user