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
+1 -1
View File
@@ -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];
}