Minor update, remove redundant setSelected: calls

This commit is contained in:
Gregory John Casamento 2023-02-12 15:27:50 -05:00
parent 2148c2ba92
commit 30c2f1da6b

View file

@ -2015,7 +2015,6 @@ static NSString *_placeholderItem = nil;
{
NSIndexPath *p = [_itemsToIndexPaths objectForKey: obj];
[obj setSelected: NO];
[paths addObject: p];
}
END_FOR_IN(_itemsToIndexPaths);
@ -2032,7 +2031,6 @@ static NSString *_placeholderItem = nil;
{
id item = [_indexPathsToItems objectForKey: p];
[item setSelected: YES];
[paths addObject: p];
}
END_FOR_IN(indexPaths);
@ -2048,7 +2046,6 @@ static NSString *_placeholderItem = nil;
{
id item = [_indexPathsToItems objectForKey: p];
[item setSelected: NO];
[newSelection removeObject: p];
}
END_FOR_IN(indexPaths);