mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 14:35:56 +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
|
if not Columns[k].Visible then
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (aRow=0) then
|
if (aRow=0) and (FixedRows>0) then
|
||||||
SelStr := SelStr + QuoteText(Columns[k].Title.Caption)
|
SelStr := SelStr + QuoteText(Columns[k].Title.Caption)
|
||||||
else
|
else
|
||||||
SelStr := SelStr + QuoteText(Cells[aCol,aRow]);
|
SelStr := SelStr + QuoteText(Cells[aCol,aRow]);
|
||||||
|
Loading…
Reference in New Issue
Block a user