cocoa: stop using the deprecated filenames property to get the number of files selected

git-svn-id: trunk@64418 -
This commit is contained in:
dmitry 2021-01-24 20:55:24 +00:00
parent aeb086e9c0
commit 31e6d57c33

View File

@ -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));