From 2d27fcbbb023a335f1f19986e9d6c7fd0a57f832 Mon Sep 17 00:00:00 2001 From: Michael Starke Date: Mon, 12 Nov 2018 12:33:13 +0100 Subject: [PATCH] Use properties --- MacPass/MPEntryViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MacPass/MPEntryViewController.m b/MacPass/MPEntryViewController.m index fc783ec7..79ec99ec 100644 --- a/MacPass/MPEntryViewController.m +++ b/MacPass/MPEntryViewController.m @@ -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;