summaryrefslogtreecommitdiffstats
path: root/macosx/HBRange.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBRange.m')
-rw-r--r--macosx/HBRange.m11
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;
}