diff --git a/lcl/grids.pas b/lcl/grids.pas index 2e5850acdc..939e53bd77 100644 --- a/lcl/grids.pas +++ b/lcl/grids.pas @@ -2364,10 +2364,6 @@ begin if (OldValue=0)and(NewValue>=0) then begin FTopLeft.X:=FFixedCols; if RowCount=0 then begin - if Columns.Enabled then - FFixedRows := 1 - else - FFixedRows := 0; FTopLeft.Y:=FFixedRows; //DebugLn('TCustomGrid.AdjustCount A ',DbgSName(Self),' FTopLeft=',dbgs(FTopLeft)); AddDel(FRows, 1);