CPArrayController -selectedObjects returns a CPObservableArray.

This commit is contained in:
Nicholas Small committed 2010-06-30 22:28:02 -04:00
1 parent 21a9ae4c45
commit e385321f95
1 file changed
+1 -1
+1 -1
View File
@@ -335,7 +335,7 @@
{
var objects = [[self arrangedObjects] objectsAtIndexes:[self selectionIndexes]];
return objects || [_CPObservableArray array];
return [_CPObservableArray arrayWithArray:(objects || [])];
}
- (BOOL)setSelectedObjects:(CPArray)objects