diff options
author | ritsuka <[email protected]> | 2014-12-18 11:18:00 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2014-12-18 11:18:00 +0000 |
commit | 8d8c8c1c56012cb5b4ce7548576832b2348cae2a (patch) | |
tree | 0d548d02602f4452e99577d91a1c369ecfadabfb /macosx/HBChapterTitlesController.m | |
parent | 217d6e9d87b5bdfe75a18b3e5f87327505459cbe (diff) |
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
Diffstat (limited to 'macosx/HBChapterTitlesController.m')
-rw-r--r-- | macosx/HBChapterTitlesController.m | 12 |
1 files changed, 7 insertions, 5 deletions
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 |