call super in _CPObservableArray removeObjectAtIndex:

The current implementation calls self, which causes an infinite loop
This commit is contained in:
Klaas Pieter Annema committed 2010-07-26 18:44:50 +02:00
1 parent 51f780b5f5
commit acf5e5b75f
1 file changed
+1 -1
+1 -1
View File
@@ -452,7 +452,7 @@ var CPObjectControllerObjectClassNameKey = @"CPObjectControllerOb
[self didChangeValueForKey:keyPath];
}
[self removeObjectAtIndex:anIndex];
[super removeObjectAtIndex:anIndex];
}
- (void)addObject:(id)anObject