moved some methods to MP42FileImporter.

This commit is contained in:
Damiano Galassi authored and Damiano Galassi committed 2015-09-18 08:26:29 +02:00
1 parent cd3f3aab7d
commit 5309d17327
2 files changed
+6 -5

No files matched your search

+2 -2
View File
@@ -16,7 +16,7 @@
#import "SBDocument.h"
#import "SBTableView.h"
#import <MP42Foundation/MP42Utilities.h>
#import <MP42Foundation/MP42FileImporter.h>
static void *SBQueueContex = &SBQueueContex;
@@ -530,7 +530,7 @@ static void *SBQueueContex = &SBQueueContex;
panel.allowsMultipleSelection = YES;
panel.canChooseFiles = YES;
panel.canChooseDirectories = YES;
panel.allowedFileTypes = supportedFileFormat();
panel.allowedFileTypes = [MP42FileImporter supportedFileFormats];
[panel beginSheetModalForWindow:[self window] completionHandler:^(NSInteger result) {
if (result == NSFileHandlingPanelOKButton) {