mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-19 04:59:22 +00:00
Fix the short circuit in CPCollectionView -setSelectionIndexes:
This commit is contained in:
1 parent
f7c68736f0
commit
b5bae40a0c
1 file changed
+1
-1
@@ -297,7 +297,7 @@
|
||||
*/
|
||||
- (void)setSelectionIndexes:(CPIndexSet)anIndexSet
|
||||
{
|
||||
if (_selectionIndexes == anIndexSet || !_isSelectable)
|
||||
if ([_selectionIndexes isEqual:anIndexSet] || !_isSelectable)
|
||||
return;
|
||||
|
||||
var index = CPNotFound;
|
||||
|
||||
Reference in new issue
Block a user