From 7e32b94a04e073aa94b51811200b664a5001f983 Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Sat, 24 Oct 2015 10:50:27 +0200 Subject: MacGui: add redo/undo supports to the audio part of HBJob. --- macosx/HBJob.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'macosx/HBJob.m') 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]; -- cgit v1.2.3