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
This commit is contained in:
parent
8cdc686f11
commit
f95ac3dbdd
@ -1264,7 +1264,10 @@ namespace VEPROMS
|
|||||||
private string getProcedurePanelHeading()
|
private string getProcedurePanelHeading()
|
||||||
{
|
{
|
||||||
VETreeNode jj_vetn = (VETreeNode)tv.Nodes[0]; // the VEPROMS tree node
|
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()
|
private int getTimeout()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user