Fixed warnings

This commit is contained in:
Damiano Galassi committed 2015-08-19 14:47:09 +02:00
1 parent f53f64e262
commit d12e815539
5 files changed
+14 -10

No files matched your search

+1 -1
View File
@@ -178,7 +178,7 @@ static void *SBOptionsViewContex = &SBOptionsViewContex;
panel.canCreateDirectories = YES;
[panel setPrompt:@"Select"];
[panel beginSheetModalForWindow:nil completionHandler:^(NSInteger result) {
[panel beginWithCompletionHandler:^(NSInteger result) {
if (result == NSFileHandlingPanelOKButton) {
NSMenuItem *folderItem = [self prepareDestPopupItem:[panel URL]];