Commit ade2bb12 authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix getAddFormatTableOptions

parent 1e059cad
......@@ -11954,9 +11954,9 @@
};
WorksheetView.prototype.getAddFormatTableOptions = function (range) {
var ar = this.activeRange.clone(true);
var selectionRange = this.model.selectionRange.getLast();
//TODO возможно стоит перенести getAddFormatTableOptions во view
return this.model.autoFilters.getAddFormatTableOptions(ar, range);
return this.model.autoFilters.getAddFormatTableOptions(selectionRange, range);
};
WorksheetView.prototype.clearFilter = function () {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment