From cd93e5457a9491cbe3979c4c3aa947d0743b32c5 Mon Sep 17 00:00:00 2001 From: GoshaZotov Date: Mon, 18 Jul 2016 12:05:30 +0300 Subject: [PATCH] fix bug 32820 --- cell/model/Workbook.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cell/model/Workbook.js b/cell/model/Workbook.js index 9a661cdac0..54789c72f7 100644 --- a/cell/model/Workbook.js +++ b/cell/model/Workbook.js @@ -5232,7 +5232,12 @@ Woorksheet.prototype._shiftCellsBottom=function(oBBox, displayNameFormatTable){ } History.Add(AscCommonExcel.g_oUndoRedoWorksheet, AscCH.historyitem_Worksheet_ShiftCellsBottom, this.getId(), new Asc.Range(oBBox.c1, oBBox.r1, oBBox.c2, gc_nMaxRow0), new UndoRedoData_BBox(oBBox)); - this.autoFilters.insertRows( "insCell", oBBox, c_oAscInsertOptions.InsertCellsAndShiftDown, displayNameFormatTable ); + + if(!this.workbook.bUndoChanges) + { + this.autoFilters.insertRows( "insCell", oBBox, c_oAscInsertOptions.InsertCellsAndShiftDown, displayNameFormatTable ); + } + }; Woorksheet.prototype._setIndex=function(ind){ this.index = ind;