Table off of Caution or Note

This commit is contained in:
Rich 2016-08-10 18:03:19 +00:00
parent 2f974705dd
commit 2a60c36d25

View File

@ -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 '&&' 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. // the condition response table is dual column. This fixes B2014-105.
SectionConfig sc = (SectionConfig)MyItemInfo.ActiveSection.MyConfig; 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)) 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 // setup the sub menus for the insert table ribbon button
btn.Tag = btn.SubItems[0].Tag; btn.Tag = btn.SubItems[0].Tag;