mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 20:20:16 +02:00
setting ClipBoard.AsText clears the clipboard (fixes issue #1704)
git-svn-id: trunk@8733 -
This commit is contained in:
parent
a9e4ccfa2a
commit
0649428621
@ -416,6 +416,7 @@ begin
|
|||||||
s:=Value
|
s:=Value
|
||||||
else
|
else
|
||||||
s:=#0;
|
s:=#0;
|
||||||
|
Clear;
|
||||||
SetBuffer(PredefinedClipboardFormat(pcfText),s[1],length(Value)+1);
|
SetBuffer(PredefinedClipboardFormat(pcfText),s[1],length(Value)+1);
|
||||||
//DebugLn('[TClipboard.SetAsText] END ',ClipboardTypeName[ClipboardType],' "',Value,'"');
|
//DebugLn('[TClipboard.SetAsText] END ',ClipboardTypeName[ClipboardType],' "',Value,'"');
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user