mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-07 13:00:17 +02:00
LCL, fixes grid column resizing problem, issue #10732
git-svn-id: trunk@15282 -
This commit is contained in:
parent
a353f8dd84
commit
5abcbe2bff
@ -1782,7 +1782,7 @@ begin
|
||||
Bigger := AValue>integer(PtrUInt(FCols[ACol]));
|
||||
SetRawColWidths(ACol, Avalue);
|
||||
|
||||
if not (csLoading in ComponentState) then begin
|
||||
if not (csLoading in ComponentState) and HandleAllocated then begin
|
||||
|
||||
if FUpdateCount=0 then begin
|
||||
UpdateSizes;
|
||||
@ -2065,7 +2065,7 @@ begin
|
||||
|
||||
FRows[ARow]:=Pointer(PtrInt(AValue));
|
||||
|
||||
if not (csLoading in ComponentState) then begin
|
||||
if not (csLoading in ComponentState) and HandleAllocated then begin
|
||||
if FUpdateCount=0 then begin
|
||||
UpdateSizes;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user