mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-08 19:35:59 +02:00
LCL, Grids: fix copying cells on first row when there are custom columns and FixedRows=0, patch from K155LA3, issue #0030608
git-svn-id: trunk@52983 -
This commit is contained in:
parent
1b2aca6220
commit
dff5e86d21
@ -10505,7 +10505,7 @@ begin
|
||||
if not Columns[k].Visible then
|
||||
continue;
|
||||
|
||||
if (aRow=0) then
|
||||
if (aRow=0) and (FixedRows>0) then
|
||||
SelStr := SelStr + QuoteText(Columns[k].Title.Caption)
|
||||
else
|
||||
SelStr := SelStr + QuoteText(Cells[aCol,aRow]);
|
||||
|
Loading…
Reference in New Issue
Block a user