From 2a60c36d258868b0aa40eceef5d75e1076d3f583 Mon Sep 17 00:00:00 2001 From: Rich Date: Wed, 10 Aug 2016 18:03:19 +0000 Subject: [PATCH] Table off of Caution or Note --- PROMS/Volian.Controls.Library/StepTabRibbon.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/PROMS/Volian.Controls.Library/StepTabRibbon.cs b/PROMS/Volian.Controls.Library/StepTabRibbon.cs index a757836a..5d8190d8 100644 --- a/PROMS/Volian.Controls.Library/StepTabRibbon.cs +++ b/PROMS/Volian.Controls.Library/StepTabRibbon.cs @@ -1672,9 +1672,10 @@ namespace Volian.Controls.Library // the '&&' in if check because when in the calvertconditionresponse table, the section is in 'single column' mode even though // the condition response table is dual column. This fixes B2014-105. SectionConfig sc = (SectionConfig)MyItemInfo.ActiveSection.MyConfig; - // One Column Mode or Two Column Mode in the RNO Column + // One Column Mode or Two Column Mode in the RNO Column or Caution or Note if ((sc.Section_ColumnMode == SectionConfig.SectionColumnMode.One && (!MyItemInfo.IsInCalvertConditionResponse || MyItemInfo.IsInRNO)) - || (sc.Section_ColumnMode == SectionConfig.SectionColumnMode.Two && MyItemInfo.IsInRNO)) // single column step editor + || (sc.Section_ColumnMode == SectionConfig.SectionColumnMode.Two && MyItemInfo.IsInRNO) + || ( MyItemInfo.IsCautionOrNotePart)) // single column step editor { // setup the sub menus for the insert table ribbon button btn.Tag = btn.SubItems[0].Tag;