mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-26 23:20:26 +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
|
begin
|
||||||
if (AValue=0) and not Visible then
|
if (AValue=0) and not Visible then
|
||||||
exit;
|
exit;
|
||||||
if AValue>0 then begin
|
if AValue>=0 then begin
|
||||||
if FWidth = nil then begin
|
if FWidth = nil then begin
|
||||||
if AValue=GetDefaultWidth then
|
if AValue=GetDefaultWidth then
|
||||||
exit;
|
exit;
|
||||||
|
Loading…
Reference in New Issue
Block a user