mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 05:59:28 +02:00
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:
parent
40ae9c7a85
commit
6e2ec4902f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user