mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-05 00:22:58 +00:00
Fixed: CPArrayController selectionIndexes returned nil initially rather than an empty index set.
This commit is contained in:
1 parent
3635d0ec26
commit
3cb3bfc008
1 file changed
+12
@@ -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