Fixed the document window not updating after a save
This commit is contained in:
1 parent
28b52e3059
commit
3376446bd2
1 file changed
+4
-1
@@ -207,7 +207,7 @@
|
||||
MP42File *reloadedFile = nil;
|
||||
|
||||
if (result == YES) {
|
||||
reloadedFile = [[MP42File alloc] initWithURL:url delegate:self];
|
||||
reloadedFile = [[MP42File alloc] initWithURL:[NSURL fileURLWithPath:url.path] delegate:self];
|
||||
}
|
||||
|
||||
dispatch_sync(dispatch_get_main_queue(), ^{
|
||||
@@ -226,6 +226,9 @@
|
||||
if (reloadedFile) {
|
||||
self.mp4 = reloadedFile;
|
||||
[reloadedFile release];
|
||||
|
||||
[fileTracksTable reloadData];
|
||||
[self reloadPropertyView];
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user