mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 05:19:25 +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: branches/fixes_1_8@55194 -
This commit is contained in:
parent
4d6f9ddd5e
commit
2b2ca33631
@ -3185,7 +3185,7 @@ end;
|
||||
|
||||
procedure TCustomGrid.VisualChange;
|
||||
begin
|
||||
if (FUpdateCount<>0) or (not HandleAllocated) then
|
||||
if (FUpdateCount<>0) then
|
||||
exit;
|
||||
|
||||
{$ifdef DbgVisualChange}
|
||||
@ -5045,7 +5045,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