diff --git a/apps/spreadsheeteditor/main/app/view/TableSettings.js b/apps/spreadsheeteditor/main/app/view/TableSettings.js index 490b56201..12cae8351 100644 --- a/apps/spreadsheeteditor/main/app/view/TableSettings.js +++ b/apps/spreadsheeteditor/main/app/view/TableSettings.js @@ -462,10 +462,7 @@ define([ onSendThemeColors: function() { // get new table templates - if (this.cmbTableTemplate) { - this.onApiInitTableTemplates(this.api.asc_getTablePictures(this._originalProps)); - this.cmbTableTemplate.menuPicker.scroller.update({alwaysVisibleY: true}); - } + this.btnTableTemplate && this.onApiInitTableTemplates(this.api.asc_getTablePictures(this._originalProps)); }, onApiInitTableTemplates: function(Templates){