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