using last object for compatibilty

This commit is contained in:
michael starke
2016-12-20 12:06:49 +01:00
parent 09147801ea
commit f9bad70bb7

View File

@@ -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];
}