mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
NSArray subscripting
This commit is contained in:
@@ -211,7 +211,7 @@
|
||||
const NSInteger index = [[GroupsController groups] indexForRow: [fTableView selectedRow]];
|
||||
if (result == NSFileHandlingPanelOKButton)
|
||||
{
|
||||
NSString * path = [[[panel URLs] objectAtIndex: 0] path];
|
||||
NSString * path = [[panel URLs][0] path];
|
||||
[[GroupsController groups] setCustomDownloadLocation: path forIndex: index];
|
||||
[[GroupsController groups] setUsesCustomDownloadLocation: YES forIndex: index];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user