mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-09 18:30:59 +00:00
Fixed: app would freeze on collection view setSelectionIndexes:nil.
This commit is contained in:
1 parent
4aa3824a2a
commit
a1bc5ad4d3
1 file changed
+2
@@ -340,6 +340,8 @@
|
||||
*/
|
||||
- (void)setSelectionIndexes:(CPIndexSet)anIndexSet
|
||||
{
|
||||
if (!anIndexSet)
|
||||
anIndexSet = [CPIndexSet indexSet];
|
||||
if (!_isSelectable || [_selectionIndexes isEqual:anIndexSet])
|
||||
return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user