diff --git a/index.html b/index.html index 209529741..725aaa65b 100644 --- a/index.html +++ b/index.html @@ -123,7 +123,7 @@ - + diff --git a/modules/UI/util/UIUtil.js b/modules/UI/util/UIUtil.js index 321de2be9..b55191189 100644 --- a/modules/UI/util/UIUtil.js +++ b/modules/UI/util/UIUtil.js @@ -112,7 +112,8 @@ * is enabled, {false} - otherwise */ isButtonEnabled: function (name) { - return interfaceConfig.TOOLBAR_BUTTONS.indexOf(name) !== -1; + return interfaceConfig.TOOLBAR_BUTTONS.indexOf(name) !== -1 + || interfaceConfig.MAIN_TOOLBAR_BUTTONS.indexOf(name) !== -1; }, /** * Indicates if the setting section is enabled.