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:
jesus 2010-10-22 19:42:09 +00:00
parent 421f4f7909
commit 87f28a9497

View File

@ -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;