mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 17:20:38 +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…
Add table
Add a link
Reference in a new issue