diff --git a/AppKit/CPCollectionView.j b/AppKit/CPCollectionView.j index 014bce090..4a0b353a6 100644 --- a/AppKit/CPCollectionView.j +++ b/AppKit/CPCollectionView.j @@ -340,6 +340,8 @@ */ - (void)setSelectionIndexes:(CPIndexSet)anIndexSet { + if (!anIndexSet) + anIndexSet = [CPIndexSet indexSet]; if (!_isSelectable || [_selectionIndexes isEqual:anIndexSet]) return;