From d6e23d63d103b1ac561038836686d04e231d5809 Mon Sep 17 00:00:00 2001 From: Rich Date: Tue, 9 Aug 2016 20:04:59 +0000 Subject: [PATCH] Verify that an RO Table or Text Table can be added for an RNO. --- PROMS/Volian.Controls.Library/StepTabRibbon.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PROMS/Volian.Controls.Library/StepTabRibbon.cs b/PROMS/Volian.Controls.Library/StepTabRibbon.cs index d730a452..a757836a 100644 --- a/PROMS/Volian.Controls.Library/StepTabRibbon.cs +++ b/PROMS/Volian.Controls.Library/StepTabRibbon.cs @@ -1672,7 +1672,9 @@ 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; - if (sc.Section_ColumnMode == SectionConfig.SectionColumnMode.One && (!MyItemInfo.IsInCalvertConditionResponse || MyItemInfo.IsInRNO)) // single column step editor + // One Column Mode or Two Column Mode in the RNO Column + if ((sc.Section_ColumnMode == SectionConfig.SectionColumnMode.One && (!MyItemInfo.IsInCalvertConditionResponse || MyItemInfo.IsInRNO)) + || (sc.Section_ColumnMode == SectionConfig.SectionColumnMode.Two && MyItemInfo.IsInRNO)) // single column step editor { // setup the sub menus for the insert table ribbon button btn.Tag = btn.SubItems[0].Tag;