fpspreadsheet: Fix grid crashing in frame when Handle is not yet available.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7980 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2021-03-23 12:26:43 +00:00
parent bca8960049
commit dbe26c3b9b

View File

@ -5891,6 +5891,9 @@ var
h: Integer; // Row height, in pixels. Contains zoom factor.
doCalcRowHeight: Boolean;
begin
if not HandleAllocated then
exit;
if ARow < FHeaderCount then
exit;