B2014-105: When in Calvert Alarm Condition Response table, print AER table in AER column

B2014-105: When in Calvert Alarm Condition Response table, AER column allow insert of AER table
This commit is contained in:
2016-06-28 15:05:42 +00:00
parent 9b3e3a76cf
commit 76b39e3046
2 changed files with 12 additions and 2 deletions

View File

@@ -1669,8 +1669,11 @@ namespace Volian.Controls.Library
{
// If there is only one 'table' type from format under the ribbon's table item,
// eliminate that button and move up the RO & Text Table buttons.
// This is done for single column mode, or if in the calvertconditionresponse table (dual column) and in the rno column. Note
// 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) // single column step editor
if (sc.Section_ColumnMode == SectionConfig.SectionColumnMode.One && (!MyItemInfo.IsInCalvertConditionResponse || MyItemInfo.IsInRNO)) // single column step editor
{
// setup the sub menus for the insert table ribbon button
btn.Tag = btn.SubItems[0].Tag;