Update selection methods

This commit is contained in:
Gregory John Casamento 2022-09-08 03:59:16 -04:00
parent a16ad6168b
commit 8a9185ee84

View file

@ -428,6 +428,15 @@ static NSString *placeholderItem = nil;
- (void) setSelectionIndexPaths: (NSSet *)indexPaths
{
if (!_isSelectable)
{
return;
}
if (![_selectionIndexPaths isEqual: indexPaths])
{
ASSIGN(_selectionIndexPaths, indexPaths);
}
}
- (NSIndexSet *) selectionIndexes