Add a new sheet to configure the media characterist tags

This commit is contained in:
Damiano Galassi committed 2015-09-13 08:05:35 +02:00
1 parent 428a28bc9e
commit 119c818d51
7 files changed
+245 -30

No files matched your search

+7 -1
View File
@@ -222,11 +222,17 @@
- (nullable __kindof NSDocument *)documentForURL:(NSURL *)url
{
for (NSDocument *doc in self.documents) {
NSArray<__kindof NSDocument *> *documents = nil;
@synchronized(self) {
documents = [self.documents copy];
}
for (NSDocument *doc in documents) {
if ([doc.fileURL isEqualTo:url.filePathURL]) {
return doc;
}
}
return nil;
}