[SSE] Fix tab index for alt key hints

This commit is contained in:
JuliaSvinareva 2021-07-28 19:58:09 +03:00
parent 511c31886c
commit 27f31709c8

View file

@ -591,7 +591,7 @@ define([
if (!this.tabbar.isTabVisible(sindex)) if (!this.tabbar.isTabVisible(sindex))
this.tabbar.setTabVisible(sindex); this.tabbar.setTabVisible(sindex);
this.tabbar.addDataHint(sindex); this.tabbar.addDataHint(_.findIndex(items, function (item) { return item.sheetindex === sindex; }));
this.btnAddWorksheet.setDisabled(me.mode.isDisconnected || me.api.asc_isWorkbookLocked() || me.api.isCellEdited); this.btnAddWorksheet.setDisabled(me.mode.isDisconnected || me.api.asc_isWorkbookLocked() || me.api.isCellEdited);
$('#status-label-zoom').text(Common.Utils.String.format(this.zoomText, Math.floor((this.api.asc_getZoom() +.005)*100))); $('#status-label-zoom').text(Common.Utils.String.format(this.zoomText, Math.floor((this.api.asc_getZoom() +.005)*100)));