mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
NSArray subscripting
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user