mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-24 13:19:18 +02:00
cocoa: stop using the deprecated filenames property to get the number of files selected
git-svn-id: trunk@64418 -
This commit is contained in:
parent
aeb086e9c0
commit
31e6d57c33
@ -450,7 +450,7 @@ begin
|
||||
FileDialog.Files.Clear;
|
||||
|
||||
if Assigned(openDlg) then
|
||||
for i := 0 to openDlg.filenames.Count - 1 do
|
||||
for i := 0 to openDlg.URLs.Count - 1 do
|
||||
FileDialog.Files.Add(NSStringToString(
|
||||
NSURL(openDlg.URLs.objectAtIndex(i)).path));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user