mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-14 12:59:37 +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
|
||||
else
|
||||
s:=#0;
|
||||
Clear;
|
||||
SetBuffer(PredefinedClipboardFormat(pcfText),s[1],length(Value)+1);
|
||||
//DebugLn('[TClipboard.SetAsText] END ',ClipboardTypeName[ClipboardType],' "',Value,'"');
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user