From f95ac3dbdd7f4eae8261574c76a2dd12c304b518 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 11 Sep 2018 19:45:14 +0000 Subject: [PATCH] C2018-029 The tree panel in child windows (separate windows) will now display the name of the procedure set that is in that child window --- PROMS/VEPROMS User Interface/frmVEPROMS.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.cs index e416c521..65e4481a 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.cs @@ -1264,7 +1264,10 @@ namespace VEPROMS private string getProcedurePanelHeading() { VETreeNode jj_vetn = (VETreeNode)tv.Nodes[0]; // the VEPROMS tree node - return ((FolderConfig)jj_vetn.VEObject.MyConfig).Title; // get the panel heading + if (!PROMSWindowForms.ContainsKey(tc.VersionID)) //C2018-029 check if we are in a child window + return ((FolderConfig)jj_vetn.VEObject.MyConfig).Title; // get the panel heading + else + return jj_vetn.Text; // C2018-029 return the child window's procedure set name } private int getTimeout() {