mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-16 22:48:15 +02:00
LCL: Grids: we need VisualChange and UpdateSizes also when handle is not allocated to access correct cache values. Issue #31955
git-svn-id: trunk@55163 -
This commit is contained in:
parent
a4a2a81027
commit
b329e88f51
@ -3191,7 +3191,7 @@ end;
|
||||
|
||||
procedure TCustomGrid.VisualChange;
|
||||
begin
|
||||
if (FUpdateCount<>0) or (not HandleAllocated) then
|
||||
if (FUpdateCount<>0) then
|
||||
exit;
|
||||
|
||||
{$ifdef DbgVisualChange}
|
||||
@ -5052,7 +5052,7 @@ end;
|
||||
|
||||
procedure TCustomGrid.UpdateSizes;
|
||||
begin
|
||||
if (FUpdateCount<>0) or (not HandleAllocated) then
|
||||
if (FUpdateCount<>0) then
|
||||
exit;
|
||||
|
||||
Include(FGridFlags, gfVisualChange);
|
||||
|
Loading…
Reference in New Issue
Block a user