Mark imported XML documents as such

This commit is contained in:
Matthias Neeracher 2007-09-03 14:28:27 +00:00
parent 3129131eeb
commit 0cc5fb11b4

View File

@ -75,8 +75,14 @@
}
return [self readFromFileWrapper:[wrappers objectForKey:@"Song"] withFilter:@"VLMusicXMLType"
error:outError];
} else
return [self readFromFileWrapper:wrapper withFilter:@"VLMusicXMLType" error:outError];
} else {
if ([self readFromFileWrapper:wrapper withFilter:@"VLMusicXMLType" error:outError]) {
[self setFileURL:nil];
return YES;
} else
return NO;
}
}
@end