B2018-119 in building the step tab we needed a check to make sure we were processing a step and not a section.
This commit is contained in:
parent
1b9fbf27b5
commit
06e24894a3
@ -4049,7 +4049,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) ||
|
||||
myparent.FormatStepData.AppendDotZero) // F2018-022 Added step type flag to append a ".0" to the end of the high level step - put in for Westinghouse single column format (wst1)
|
||||
(myparent.IsStepPart && myparent.FormatStepData.AppendDotZero)) // F2018-022 Added step type flag to append a ".0" to the end of the high level step - put in for Westinghouse single column format (wst1), B2018-119 only do this for steps
|
||||
parentTab = parentTab.Replace(".0", ""); // this was added in, remove for substeps.
|
||||
tbformat = parentTab + (parentTab.EndsWith(".") ? "" : parentTab == "" ? "" : ".") + tbformat.TrimStart();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user