updated to new prefixed KeePassKit API. Fixed tests

This commit is contained in:
michael starke
2016-12-09 10:43:53 +01:00
parent e9563f3f67
commit 08d11f1213
9 changed files with 17 additions and 16 deletions

View File

@@ -277,7 +277,7 @@ NSString *const _MPOutlinveViewHeaderViewIdentifier = @"HeaderCell";
- (void)outlineViewSelectionDidChange:(NSNotification *)notification {
MPDocument *document = self.windowController.document;
NSArray<KPKGroup *> *groups = [self currentTargetGroups];
document.tree.metaData.lastSelectedGroup = (groups.count == 1 ? groups.firstObject.uuid : [NSUUID nullUUID]);
document.tree.metaData.lastSelectedGroup = (groups.count == 1 ? groups.firstObject.uuid : [NSUUID kpk_nullUUID]);
document.selectedGroups = groups;
}