summaryrefslogtreecommitdiffstats
path: root/macosx/HBJob.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2015-10-22 18:52:18 +0200
committerDamiano Galassi <[email protected]>2015-10-22 18:52:18 +0200
commit449b50737c28a3274abb1200ab54711ce0e659bc (patch)
tree49ca196e805e741c8b57043d5dd4397890ef8808 /macosx/HBJob.m
parent586d58a92e8bd0ba599917e9c65cf913d66a6474 (diff)
MacGui: rewrote the subtitles tab to use bindings, view-based table view and to support undo/redo.
Diffstat (limited to 'macosx/HBJob.m')
-rw-r--r--macosx/HBJob.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBJob.m b/macosx/HBJob.m
index f03520bac..8c7b2dc63 100644
--- a/macosx/HBJob.m
+++ b/macosx/HBJob.m
@@ -95,7 +95,7 @@ NSString *HBChaptersChangedNotification = @"HBChaptersChangedNotification";
- (void)setUndo:(NSUndoManager *)undo
{
_undo = undo;
- [@[self.video, self.range, self.filters, self.picture, /*self.audio, self.subtitles*/] makeObjectsPerformSelector:@selector(setUndo:)
+ [@[self.video, self.range, self.filters, self.picture, /*self.audio,*/ self.subtitles] makeObjectsPerformSelector:@selector(setUndo:)
withObject:_undo];
[self.chapterTitles makeObjectsPerformSelector:@selector(setUndo:) withObject:_undo];
}
@@ -128,7 +128,7 @@ NSString *HBChaptersChangedNotification = @"HBChaptersChangedNotification";
_container = container;
[self.audio containerChanged:container];
- [self.subtitles containerChanged:container];
+ [self.subtitles setContainer:container];
[self.video containerChanged];
// post a notification for any interested observers to indicate that our video container has changed