diff --git a/PROMS/Formats/fmtall/EXP1all.xml b/PROMS/Formats/fmtall/EXP1all.xml index 18f57ee0..997c7602 100644 Binary files a/PROMS/Formats/fmtall/EXP1all.xml and b/PROMS/Formats/fmtall/EXP1all.xml differ diff --git a/PROMS/Formats/genmacall/exp1.svg b/PROMS/Formats/genmacall/exp1.svg index e18103a2..48835d6e 100644 Binary files a/PROMS/Formats/genmacall/exp1.svg and b/PROMS/Formats/genmacall/exp1.svg differ diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs index 32c31345..6626687c 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs @@ -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) {