Made various fixes found during demo preparation
B2015-092: If numbered HLS, don’t put a ‘.’ between HLS and sub-step number; null reference check when accessing rofst if none associated with docversion.
This commit is contained in:
parent
a17ea54db0
commit
e2aded8ce4
Binary file not shown.
Binary file not shown.
@ -700,6 +700,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
public void UpdateROText()
|
||||
{
|
||||
if (this.MyDocVersion.DocVersionAssociationCount == 0) return;
|
||||
ROFstInfo rofstinfo = this.MyDocVersion.DocVersionAssociations[0].MyROFst;
|
||||
ROFSTLookup lookup = rofstinfo.GetROFSTLookup(this.MyDocVersion);
|
||||
lookup.MyDocVersionInfo = this.MyDocVersion;
|
||||
@ -3416,7 +3417,7 @@ namespace VEPROMS.CSLA.Library
|
||||
parentTab = myparent.MyTab.CleanText.Trim();
|
||||
if (((MyDocStyle.StructureStyle.Style & E_DocStructStyle.DSS_AddDotZeroStdHLS) == E_DocStructStyle.DSS_AddDotZeroStdHLS) && myparent.MyContent.Type == 20002)
|
||||
parentTab = parentTab.Replace(".0", ""); // this was added in, remove for substeps.
|
||||
tbformat = parentTab + (parentTab.EndsWith(".") ? "" : ".") + tbformat.TrimStart();
|
||||
tbformat = parentTab + (parentTab.EndsWith(".") ? "" : parentTab=="" ? "" : ".") + tbformat.TrimStart();
|
||||
}
|
||||
else if (IsSequential && ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.SkipNonSeqTabWithPar)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user