B2016-072 check the section config for the column mode to determine the Insert Table sub-menus, ie whether or not to include AER and Centered submenu
This commit is contained in:
parent
425617eeec
commit
15c96e66b8
@ -1515,7 +1515,8 @@ namespace Volian.Controls.Library
|
|||||||
{
|
{
|
||||||
// If there is only one 'table' type from format under the ribbon's table item,
|
// 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.
|
// eliminate that button and move up the RO & Text Table buttons.
|
||||||
if (btn.SubItems.Count == 1) // single column step editor
|
SectionConfig sc = (SectionConfig)MyItemInfo.ActiveSection.MyConfig;
|
||||||
|
if (sc.Section_ColumnMode == SectionConfig.SectionColumnMode.One) // 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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user