mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-13 19:22:25 +00:00
Use properties
This commit is contained in:
@@ -402,7 +402,7 @@ NSString *const _MPTableSecurCellView = @"PasswordCell";
|
||||
NSInteger activeRow = self.entryTable.clickedRow;
|
||||
if(activeRow > -1 && activeRow < [self.entryArrayController.arrangedObjects count]) {
|
||||
if(![self.entryArrayController.selectionIndexes containsIndex:activeRow]) {
|
||||
return @[ [self.entryArrayController arrangedObjects][activeRow] ];
|
||||
return @[ self.entryArrayController.arrangedObjects[activeRow] ];
|
||||
}
|
||||
}
|
||||
return self.entryArrayController.selectedObjects;
|
||||
|
||||
Reference in New Issue
Block a user