From 6bf778d79ba8c69769fb040b866d845d7ab19cdb Mon Sep 17 00:00:00 2001 From: John Date: Wed, 13 Sep 2017 15:29:24 +0000 Subject: [PATCH] B2017-206 Fixed issue where only a sequential substep could be added to a Note or Caution instead of any substep type, for formats that support substeps off of (inside) Notes and Cautions. --- PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs index 3cdfb798..be25f995 100644 --- a/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs +++ b/PROMS/VEPROMS.CSLA.Library/Format/PlantFormat.cs @@ -633,7 +633,7 @@ namespace VEPROMS.CSLA.Library // if equation type && in single column mode, put out the rnomenu list, and skip the AER items bool singleColEq = (topType.Type.ToUpper().Contains("EQUATION") && _CurItemInfo.ColumnMode == 0); // B2017-004 if a Table type && in single column mode or in a Note or Caution, don't list the AER Table option - bool singleColTable = (_CurItemInfo.IsTable && _CurItemInfo.ColumnMode == 0) || _CurItemInfo.IsInCautionOrNote; + bool singleColTable = (_CurItemInfo.IsTable && ( _CurItemInfo.ColumnMode == 0 || _CurItemInfo.IsInCautionOrNote)); // B2017-206 added parens so substeps types can be listed if ((singleColEq ||_CurItemInfo.IsInRNO || _CurItemInfo.IsCaution || _CurItemInfo.IsNote) && topType.StepEditData.TypeMenu.RnoMenuItem != null && topType.StepEditData.TypeMenu.RnoMenuItem != "") sds.Add(new StepDataRetval(topType.StepEditData.TypeMenu.RnoMenuItem, Convert.ToInt32(topType.Index))); else if (!singleColEq && !singleColTable)