mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 08:58:23 +02:00
LCL: grids: fixed regression from r50262 #fa277e1eb3. Issue #28959
git-svn-id: trunk@50371 -
This commit is contained in:
parent
904373f6ce
commit
b8b626d91e
@ -11646,7 +11646,7 @@ procedure TGridColumn.SetWidth(const AValue: Integer);
|
||||
begin
|
||||
if (AValue=0) and not Visible then
|
||||
exit;
|
||||
if AValue>0 then begin
|
||||
if AValue>=0 then begin
|
||||
if FWidth = nil then begin
|
||||
if AValue=GetDefaultWidth then
|
||||
exit;
|
||||
|
Loading…
Reference in New Issue
Block a user