Fixed the document window not updating after a save

This commit is contained in:
Damiano Galassi committed 2015-09-02 07:58:39 +02:00
1 parent 28b52e3059
commit 3376446bd2
1 file changed
+4 -1
+4 -1
View File
@@ -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];
}
});