mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-10 10:42:19 +00:00
Fixed: CPArrayController's addObject and CPArray's insertObject:inArraySortedByDescriptors:.
CPArray insertObject:inArraySortedByDescriptors: now quickly inserts objects at the end of the array if no sort descriptors are specified. CPArrayController initialises its sort descriptors to an empty array. Fixed: array controller's addObject added objects to the arranged objects array in a different order than in the content array if no sort descriptor was set.
This commit is contained in:
1 parent
2af2fc31a1
commit
8ef7f07195
3 files changed
+42
-11
No files matched your search
@@ -108,6 +108,7 @@
|
||||
|
||||
if (self)
|
||||
{
|
||||
_sortDescriptors = [CPArray array];
|
||||
_selectionIndexes = [CPIndexSet indexSet];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user