diff options
author | Damiano Galassi <[email protected]> | 2016-02-26 09:50:16 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2016-03-11 13:51:17 +0100 |
commit | 7481df6459c9ab20c6aa68159243f492d113736b (patch) | |
tree | d09e6cc962458cd5f7c1f72c1b532bcc9bc63247 /macosx/HBRange.m | |
parent | d5535297783e8728e45c1d79e973287fead81788 (diff) |
MacGui: move the objc libhb wrapper to a separate framework.
Diffstat (limited to 'macosx/HBRange.m')
-rw-r--r-- | macosx/HBRange.m | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/macosx/HBRange.m b/macosx/HBRange.m index 2d17e36cd..b048b0e90 100644 --- a/macosx/HBRange.m +++ b/macosx/HBRange.m @@ -159,14 +159,17 @@ NSString *HBRangeChangedNotification = @"HBRangeChangedNotification"; retval = [NSSet setWithObjects:@"type", @"chapterStart", @"chapterStop", @"frameStart", @"frameStop", @"secondsStart", @"secondsStop",nil]; } - - if ([key isEqualToString:@"chaptersSelected"] || - [key isEqualToString:@"secondsSelected"] || - [key isEqualToString:@"framesSelected"]) + else if ([key isEqualToString:@"chaptersSelected"] || + [key isEqualToString:@"secondsSelected"] || + [key isEqualToString:@"framesSelected"]) { retval = [NSSet setWithObjects:@"type",nil]; } + else + { + retval = [NSSet set]; + } return retval; } |