Fix some more display names.

This commit is contained in:
Damiano Galassi committed 2016-08-19 09:34:52 +02:00
1 parent 94798c2458
commit 80362d08a1
1 file changed
+8 -4
+8 -4
View File
@@ -231,21 +231,25 @@
{ {
void (^modifiedCompletionhandler)(NSError * _Nullable) = ^void(NSError * _Nullable error) { void (^modifiedCompletionhandler)(NSError * _Nullable) = ^void(NSError * _Nullable error) {
MP42File *reloadedFile = nil; MP42File *reloadedFile = nil;
NSError *reloadError;
if (error == nil) { if (error == nil) {
reloadedFile = [[MP42File alloc] initWithURL:[NSURL fileURLWithPath:url.path] error:NULL]; reloadedFile = [[MP42File alloc] initWithURL:[NSURL fileURLWithPath:url.path] error:&reloadError];
} }
[self endProgressSheet];
if (reloadedFile) { if (reloadedFile) {
self.mp4 = reloadedFile; self.mp4 = reloadedFile;
[self.tracksTable reloadData]; [self.tracksTable reloadData];
[self reloadPropertyView]; [self reloadPropertyView];
}
[self endProgressSheet]; completionHandler(error);
completionHandler(error); }
else {
completionHandler(reloadError);
}
}; };
[self showProgressSheet]; [self showProgressSheet];