fpspreadsheet: Fix TsCopyAction if triggered by copy brush toolbutton

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5763 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2017-02-20 17:20:48 +00:00
parent 7383d29bb7
commit 2f57f36178

View File

@ -835,7 +835,8 @@ const
coCopyFormat, coCopyValue, coCopyFormula, coCopyCell
);
begin
if Target is TsCustomWorksheetGrid then
if (Target is TsCustomWorksheetGrid) or (Target is TsWorkbookSource) then
// if Target is TsCustomWorksheetGrid then
case FCopyMode of
cmBrush:
begin