From f9bad70bb7c33859c6e1320b3bee4b9f802ed120 Mon Sep 17 00:00:00 2001 From: michael starke Date: Tue, 20 Dec 2016 12:06:49 +0100 Subject: [PATCH] using last object for compatibilty --- MacPass/MPEntryViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MacPass/MPEntryViewController.m b/MacPass/MPEntryViewController.m index b989c0a6..e8f244db 100644 --- a/MacPass/MPEntryViewController.m +++ b/MacPass/MPEntryViewController.m @@ -410,7 +410,7 @@ NSString *const _MPTableSecurCellView = @"PasswordCell"; return; // we are showing the correct object right now. } } - self.representedObject = document.selectedGroups.count == 1 ? document.selectedGroups.firstObject : nil; + self.representedObject = document.selectedGroups.count == 1 ? document.selectedGroups.lastObject : nil; } [self _updateContextBar]; }