Respect _isSelectable on CPCollectionView

This commit is contained in:
Ross Boucher
2009-03-10 23:18:43 -07:00
parent 19d26f148f
commit 38d72bc672
+1 -1
View File
@@ -258,7 +258,7 @@
*/
- (void)setSelectionIndexes:(CPIndexSet)anIndexSet
{
if (_selectionIndexes == anIndexSet)
if (_selectionIndexes == anIndexSet || !_isSelectable)
return;
var index = CPNotFound;