mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 06:51:44 +00:00
Update selection methods
This commit is contained in:
parent
a16ad6168b
commit
8a9185ee84
1 changed files with 9 additions and 0 deletions
|
@ -428,6 +428,15 @@ static NSString *placeholderItem = nil;
|
|||
|
||||
- (void) setSelectionIndexPaths: (NSSet *)indexPaths
|
||||
{
|
||||
if (!_isSelectable)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (![_selectionIndexPaths isEqual: indexPaths])
|
||||
{
|
||||
ASSIGN(_selectionIndexPaths, indexPaths);
|
||||
}
|
||||
}
|
||||
|
||||
- (NSIndexSet *) selectionIndexes
|
||||
|
|
Loading…
Reference in a new issue