mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 05:59:28 +02:00
LCL, fix hiding and then showing a dbgrid column (remained 0 width), bug reported by José Antonio Cuello
git-svn-id: trunk@27813 -
This commit is contained in:
parent
421f4f7909
commit
87f28a9497
@ -10260,6 +10260,8 @@ end;
|
||||
|
||||
procedure TGridColumn.SetWidth(const AValue: Integer);
|
||||
begin
|
||||
if (AValue=0) and not Visible then
|
||||
exit;
|
||||
if FWidth = nil then begin
|
||||
if AValue=GetDefaultWidth then
|
||||
exit;
|
||||
|
Loading…
Reference in New Issue
Block a user