Updated KeePassKit for better merge support

This commit is contained in:
michael starke
2017-08-30 17:09:05 +02:00
parent 1d53f0fbee
commit 826644c852
3 changed files with 7 additions and 4 deletions

View File

@@ -363,6 +363,9 @@ NSString *const MPDocumentGroupKey = @"MPDocumentGrou
KPKTree *otherTree = [[KPKTree alloc] initWithContentsOfUrl:url key:self.compositeKey error:&error];
if(!otherTree) {
if(error.code == KPKErrorPasswordAndOrKeyfileWrong) {
NSAlert *alert = [[NSAlert alloc] init];
alert.alertStyle = NSAlertStyleWarning;
alert.informativeText = NSLocalizedString(@"ALERT_MERGE_OTHER_KEY_CHANGED", @"");
[self presentError:error];
}
else {