mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-09 18:30:59 +00:00
CPArrayController -selectedObjects returns a CPObservableArray.
This commit is contained in:
1 parent
21a9ae4c45
commit
e385321f95
1 file changed
+1
-1
@@ -335,7 +335,7 @@
|
||||
{
|
||||
var objects = [[self arrangedObjects] objectsAtIndexes:[self selectionIndexes]];
|
||||
|
||||
return objects || [_CPObservableArray array];
|
||||
return [_CPObservableArray arrayWithArray:(objects || [])];
|
||||
}
|
||||
|
||||
- (BOOL)setSelectedObjects:(CPArray)objects
|
||||
|
||||
Reference in new issue
Block a user