summaryrefslogtreecommitdiffstats
path: root/macosx/HBJob.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2015-10-24 10:50:27 +0200
committerDamiano Galassi <[email protected]>2015-10-24 10:50:27 +0200
commit7e32b94a04e073aa94b51811200b664a5001f983 (patch)
tree8b328e88162db42ee1d9237a61ea2c97f4c0183d /macosx/HBJob.m
parent97e6ad384476b97cbc36bfb0a81ac179b1fc7d70 (diff)
MacGui: add redo/undo supports to the audio part of HBJob.
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 8c7b2dc63..cbdbfbe15 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];
}
@@ -127,7 +127,7 @@ NSString *HBChaptersChangedNotification = @"HBChaptersChangedNotification";
_container = container;
- [self.audio containerChanged:container];
+ [self.audio setContainer:container];
[self.subtitles setContainer:container];
[self.video containerChanged];