LCL, on adding rows/cols to an empty grid do not add a fixedrow if grid has custom columns

git-svn-id: trunk@23650 -
This commit is contained in:
jesus 2010-02-05 21:16:52 +00:00
parent 40ae9c7a85
commit 6e2ec4902f

View File

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