From 8d8c8c1c56012cb5b4ce7548576832b2348cae2a Mon Sep 17 00:00:00 2001 From: ritsuka Date: Thu, 18 Dec 2014 11:18:00 +0000 Subject: MacGui: separate the video settings logic from the view controller. There are a number of small regression ("Custom" preset and auto naming not updating) that will be fixed in the next commits. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6606 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/HBChapterTitlesController.m | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'macosx/HBChapterTitlesController.m') diff --git a/macosx/HBChapterTitlesController.m b/macosx/HBChapterTitlesController.m index 6702a5d81..40adb36c9 100644 --- a/macosx/HBChapterTitlesController.m +++ b/macosx/HBChapterTitlesController.m @@ -23,6 +23,8 @@ @implementation HBChapterTitlesController +@synthesize enabled = _enabled; + - (instancetype)init { self = [super initWithNibName:@"ChaptersTitles" bundle:nil]; @@ -83,12 +85,12 @@ [fChapterTable reloadData]; } -- (void)setUIEnabled:(BOOL)flag +- (void)setEnabled:(BOOL)enabled { - [fCreateChaptersMarkers setEnabled:flag]; - [fChapterTable setEnabled:flag]; - [fLoadChaptersButton setEnabled:flag]; - [fSaveChaptersButton setEnabled:flag]; + [fCreateChaptersMarkers setEnabled:enabled]; + [fChapterTable setEnabled:enabled]; + [fLoadChaptersButton setEnabled:enabled]; + [fSaveChaptersButton setEnabled:enabled]; } - (NSArray *)chapterTitlesArray -- cgit v1.2.3