Commit 3a3fb44c authored by GoshaZotov's avatar GoshaZotov

fix bug 34408

parent 6de00365
......@@ -8832,7 +8832,8 @@
pasteData = tempWorkbook.aWorksheets[0];
if(pasteData)
{
t._pasteFromBinary(pasteData, null, null);
//undoSpecialPasteRange - нужен для того, чтобы включить undo в диапазон обновления(_updateCellsRange)
specialPasteUndoData.undoSpecialPasteRange = t._pasteFromBinary(pasteData, null, null);
}
//удаляем вставленные изображения
......@@ -9039,7 +9040,19 @@
t.handlers.trigger("slowOperation", false);
}
t.isChanged = true;
t._updateCellsRange(arn, canChangeColWidth);
var specialPasteUndoData = g_clipboardBase.specialPasteUndoData;
if(specialPasteUndoData && specialPasteUndoData.undoSpecialPasteRange && specialPasteUndoData.undoSpecialPasteRange[0] && AscCommonExcel.g_clipboardExcel.specialPasteStart)
{
var unionRange = arn.union(specialPasteUndoData.undoSpecialPasteRange[0]);
t._updateCellsRange(unionRange, canChangeColWidth);
specialPasteUndoData.undoSpecialPasteRange = null;
}
else
{
t._updateCellsRange(arn, canChangeColWidth);
}
}
var oSelection = History.GetSelection();
......
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