diff --git a/AppKit/CPArrayController.j b/AppKit/CPArrayController.j index d4364895e..aa90d0eaf 100644 --- a/AppKit/CPArrayController.j +++ b/AppKit/CPArrayController.j @@ -91,6 +91,18 @@ return [CPSet setWithObjects:"selectionIndexes"]; } +- (id)init +{ + self = [super init]; + + if (self) + { + _selectionIndexes = [CPIndexSet indexSet]; + } + + return self; +} + -(void)prepareContent { [self _setContentArray:[[self newObject]]];