mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 13:07:02 +00:00
Fixed: CPArrayController selectionIndexes returned nil initially rather than an empty index set.
This commit is contained in:
committed by
Ross Boucher
parent
3635d0ec26
commit
3cb3bfc008
@@ -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]]];
|
||||
|
||||
Reference in New Issue
Block a user