added todo note

This commit is contained in:
michael starke
2016-10-14 15:11:24 +02:00
parent fda536f0ed
commit edfc4a691c

View File

@@ -341,6 +341,7 @@ NSString *const MPDocumentGroupKey = @"MPDocumentGrou
[self exitSearch:self];
[self.undoManager removeAllActions];
NSError *error;
/* TODO let the tree chose the encryption */
self.encryptedData = [self.tree encryptWithPassword:self.compositeKey forVersion:KPKDatabaseTypeXml error:&error];
if(nil == self.encryptedData && error ) {
[self presentError:error];