Add a new sheet to configure the media characterist tags
This commit is contained in:
1 parent
428a28bc9e
commit
119c818d51
7 files changed
+245
-30
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user