From 38d72bc672ebe10ef9aa28ac823b10517b3a57ef Mon Sep 17 00:00:00 2001 From: Ross Boucher Date: Tue, 10 Mar 2009 23:18:43 -0700 Subject: [PATCH] Respect _isSelectable on CPCollectionView --- AppKit/CPCollectionView.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPCollectionView.j b/AppKit/CPCollectionView.j index 0768d9b69..c05deeef2 100644 --- a/AppKit/CPCollectionView.j +++ b/AppKit/CPCollectionView.j @@ -258,7 +258,7 @@ */ - (void)setSelectionIndexes:(CPIndexSet)anIndexSet { - if (_selectionIndexes == anIndexSet) + if (_selectionIndexes == anIndexSet || !_isSelectable) return; var index = CPNotFound;