Fix the short circuit in CPCollectionView -setSelectionIndexes:

This commit is contained in:
Nicholas Small committed 2010-09-17 12:23:36 -04:00
1 parent f7c68736f0
commit b5bae40a0c
1 file changed
+1 -1
+1 -1
View File
@@ -297,7 +297,7 @@
*/
- (void)setSelectionIndexes:(CPIndexSet)anIndexSet
{
if (_selectionIndexes == anIndexSet || !_isSelectable)
if ([_selectionIndexes isEqual:anIndexSet] || !_isSelectable)
return;
var index = CPNotFound;