Commit 1034bb30 authored by GoshaZotov's avatar GoshaZotov

move lockRecal

parent 88b9ff1b
...@@ -773,8 +773,6 @@ ...@@ -773,8 +773,6 @@
var bRedoChanges = worksheet.workbook.bRedoChanges; var bRedoChanges = worksheet.workbook.bRedoChanges;
var minChangeRow; var minChangeRow;
worksheet.workbook.dependencyFormulas.lockRecal();
//**get filter** //**get filter**
var filter = this._getFilterByDisplayName(displayName); var filter = this._getFilterByDisplayName(displayName);
var autoFilter = filter && false === filter.isAutoFilter() ? filter.AutoFilter : filter; var autoFilter = filter && false === filter.isAutoFilter() ? filter.AutoFilter : filter;
...@@ -782,6 +780,8 @@ ...@@ -782,6 +780,8 @@
if(filter === null) if(filter === null)
return false; return false;
worksheet.workbook.dependencyFormulas.lockRecal();
History.Create_NewPoint(); History.Create_NewPoint();
History.StartTransaction(); History.StartTransaction();
...@@ -2094,8 +2094,6 @@ ...@@ -2094,8 +2094,6 @@
var bUndoChanges = worksheet.workbook.bUndoChanges; var bUndoChanges = worksheet.workbook.bUndoChanges;
var bRedoChanges = worksheet.workbook.bRedoChanges; var bRedoChanges = worksheet.workbook.bRedoChanges;
worksheet.workbook.dependencyFormulas.lockRecal();
if(arnTo == null && arnFrom == null && data) if(arnTo == null && arnFrom == null && data)
{ {
arnTo = data.moveFrom ? data.moveFrom : null; arnTo = data.moveFrom ? data.moveFrom : null;
...@@ -2105,6 +2103,8 @@ ...@@ -2105,6 +2103,8 @@
return; return;
} }
worksheet.workbook.dependencyFormulas.lockRecal();
var cloneFilterColumns = function(filterColumns) var cloneFilterColumns = function(filterColumns)
{ {
var cloneFilterColumns = []; var cloneFilterColumns = [];
......
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