Commit e642a454 authored by konovalovsergey's avatar konovalovsergey

miss calcTree after Woorksheet.setName; for test

parent ba6859c1
...@@ -1790,7 +1790,7 @@ ...@@ -1790,7 +1790,7 @@
} }
} else if (opt_sheetId) { } else if (opt_sheetId) {
formulas = []; formulas = [];
var ws = this.wb.getWorksheetById(opt_sheetId); var ws = this.getWorksheetById(opt_sheetId);
ws.getAllFormulas(formulas); ws.getAllFormulas(formulas);
} else { } else {
formulas = this.getAllFormulas(); formulas = this.getAllFormulas();
...@@ -2960,6 +2960,7 @@ ...@@ -2960,6 +2960,7 @@
wsModel.oDrawingOjectsManager.updateChartReferencesWidthHistory(_lastName, _newName, true); wsModel.oDrawingOjectsManager.updateChartReferencesWidthHistory(_lastName, _newName, true);
} }
} }
this.workbook.dependencyFormulas.calcTree();
} }
}; };
Woorksheet.prototype.getTabColor=function(){ Woorksheet.prototype.getTabColor=function(){
...@@ -4712,7 +4713,7 @@ Woorksheet.prototype.isApplyFilterBySheet = function(){ ...@@ -4712,7 +4713,7 @@ Woorksheet.prototype.isApplyFilterBySheet = function(){
newFormula = this.formulaParsed.Formula; newFormula = this.formulaParsed.Formula;
} }
oNewCell.formulaParsed = new parserFormula(newFormula, oNewCell, oNewWs); oNewCell.formulaParsed = new parserFormula(newFormula, oNewCell, oNewWs);
this.ws.workbook.dependencyFormulas.addToBuildDependencyCell(oNewCell); oNewWs.workbook.dependencyFormulas.addToBuildDependencyCell(oNewCell);
} }
return oNewCell; return oNewCell;
}; };
......
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