mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 13:39:25 +02:00
cocoa: Fixes wrong interpretation of sandboxing tetx
git-svn-id: trunk@47811 -
This commit is contained in:
parent
4996f81eb9
commit
cd3feb8828
@ -340,16 +340,8 @@ begin
|
||||
case AMimeType of
|
||||
'text/plain':
|
||||
begin
|
||||
if SandboxingOn then
|
||||
begin
|
||||
lDataType := ccdtNonStandard;
|
||||
lClassClass := TClipboardString.ClassClass;
|
||||
end
|
||||
else
|
||||
begin
|
||||
lNSStr := NSPasteboardTypeString;
|
||||
lDataType := ccdtText;
|
||||
end;
|
||||
lNSStr := NSPasteboardTypeString;
|
||||
lDataType := ccdtText;
|
||||
end;
|
||||
{'image/bmp', 'image/xpm', 'image/delphi.bitmap':
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user