Fix some more display names.
This commit is contained in:
1 parent
94798c2458
commit
80362d08a1
1 file changed
+8
-4
@@ -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];
|
||||||
|
|||||||
Reference in new issue
Block a user