fpspreadsheet: Fix worksheetgrid not recalculating row height in case of cell content or format change

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5234 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2016-10-01 12:37:30 +00:00
parent 863be778f9
commit 1ae0540c8e

View File

@ -4068,6 +4068,9 @@ begin
gcol := GetGridCol(cell^.Col); gcol := GetGridCol(cell^.Col);
AutoExpandToRow(grow, aeData); AutoExpandToRow(grow, aeData);
AutoExpandToCol(gcol, aeData); AutoExpandToCol(gcol, aeData);
lRow := Worksheet.FindRow(srow);
if (lRow = nil) or (lRow^.RowHeightType <> rhtCustom) then
UpdateRowHeight(grow, true);
end; end;
Invalidate; Invalidate;
end; end;