diff options
author | ritsuka <[email protected]> | 2014-08-03 11:00:34 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2014-08-03 11:00:34 +0000 |
commit | 4f527377f6eb03c1ae65d7660efade347250dfb9 (patch) | |
tree | dd303907cb772dd4e7168ba878e1864fbbcdcdf0 /macosx/HBSubtitlesDefaultsController.m | |
parent | 9474387d2ae72794970b8ca2a9e8f8facdc0fdab (diff) |
MacGui: enabled type select in the languages table view.
Improved the subtitles defaults selection to avoid adding the same track twice.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6261 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBSubtitlesDefaultsController.m')
-rw-r--r-- | macosx/HBSubtitlesDefaultsController.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/macosx/HBSubtitlesDefaultsController.m b/macosx/HBSubtitlesDefaultsController.m index ead542080..e19c18aa2 100644 --- a/macosx/HBSubtitlesDefaultsController.m +++ b/macosx/HBSubtitlesDefaultsController.m @@ -45,7 +45,8 @@ static void *HBSubtitlesDefaultsContex = &HBSubtitlesDefaultsContex; - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context { - if (context == HBSubtitlesDefaultsContex) { + if (context == HBSubtitlesDefaultsContex) + { if ([keyPath isEqualToString:@"tableController.showSelectedOnly"]) { [self.showAllButton setState:!self.tableController.showSelectedOnly]; |