NSArray subscripting

This commit is contained in:
Dmitry Serov
2017-07-08 16:16:01 +07:00
parent b743b64262
commit 40a7b8879c
22 changed files with 104 additions and 104 deletions

View File

@@ -190,7 +190,7 @@
[panel beginSheetModalForWindow: [self window] completionHandler: ^(NSInteger result) {
if (result == NSFileHandlingPanelOKButton)
[self setDestinationPath: [[[panel URLs] objectAtIndex: 0] path] determinationType:TorrentDeterminationUserSpecified];
[self setDestinationPath: [[panel URLs][0] path] determinationType:TorrentDeterminationUserSpecified];
else
{
if (!fDestination)