Fixed: app would freeze on collection view setSelectionIndexes:nil.

This commit is contained in:
Alexander Ljungberg
2012-02-17 14:23:21 +00:00
parent 4aa3824a2a
commit a1bc5ad4d3
+2
View File
@@ -340,6 +340,8 @@
*/
- (void)setSelectionIndexes:(CPIndexSet)anIndexSet
{
if (!anIndexSet)
anIndexSet = [CPIndexSet indexSet];
if (!_isSelectable || [_selectionIndexes isEqual:anIndexSet])
return;