[SSE] Fix current cell when watch is added

This commit is contained in:
Julia Radzhabova 2022-06-24 17:50:28 +03:00
parent 4e2af2ab44
commit 5b0769f326

View file

@ -176,7 +176,7 @@ define([ 'text!spreadsheeteditor/main/app/template/WatchDialog.template',
win.show(xy.left + 65, xy.top + 77);
win.setSettings({
api : me.api,
range : me.api.asc_getActiveRangeStr(Asc.referenceType.A),
range : me.api.asc_getWorksheetName(me.api.asc_getActiveWorksheetIndex()) + '!' + me.api.asc_getActiveRangeStr(Asc.referenceType.A),
type : Asc.c_oAscSelectionDialogType.Chart
});
}