Commit 35fb5d07 authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

не записывались в историю setRowBestFit

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59720 954022d7-b5bf-4e40-9824-e11837661b57
parent c9a2fdb0
......@@ -3079,9 +3079,9 @@ Woorksheet.prototype.setRowBestFit=function(bBestFit, height, start, stop){
row.CustomHeight = null;
else
row.CustomHeight = true;
row.height = height;
row.h = height;
var oNewProps = row.getHeightProp();
if(false == oOldProps.isEqual(oOldProps))
if(false == oOldProps.isEqual(oNewProps))
History.Add(g_oUndoRedoWorksheet, historyitem_Worksheet_RowProp, oThis.getId(), row._getUpdateRange(), new UndoRedoData_IndexSimpleProp(row.index, true, oOldProps, oNewProps));
}
};
......
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