diff --git a/AppKit/CPObjectController.j b/AppKit/CPObjectController.j index f070d33bf..838f15c84 100644 --- a/AppKit/CPObjectController.j +++ b/AppKit/CPObjectController.j @@ -53,7 +53,7 @@ - (id)initWithContent:(id)aContent { - self = [super init]; + self = [self init]; if (self) { @@ -455,6 +455,11 @@ var CPObjectControllerObjectClassNameKey = @"CPObjectControllerOb [super removeObjectAtIndex:anIndex]; } +- (_CPObservableArray)objectsAtIndexes:(CPIndexSet)theIndexes +{ + return [_CPObservableArray arrayWithArray:[super objectsAtIndexes:theIndexes]]; +} + - (void)addObject:(id)anObject { [self insertObject:anObject atIndex:[self count]];