Updated documentation

small refactorings on the key file settings
This commit is contained in:
michael starke
2013-11-18 00:12:35 +01:00
parent 9192504939
commit 12a29121e5
3 changed files with 36 additions and 7 deletions

View File

@@ -85,7 +85,7 @@
#pragma mark Actions
- (IBAction)save:(id)sender {
_currentDocument.compositeKey = [[KPKCompositeKey alloc] initWithPassword:[self.passwordTextField stringValue] key:[self.keyfilePathControl URL]];
[_currentDocument changePassword:[self.passwordTextField stringValue] keyFileURL:[self.keyfilePathControl URL]];
[self dismissSheet:NSRunStoppedResponse];
if(self.delegate && [self.delegate respondsToSelector:@selector(didFinishPasswordEditing:)]) {
[self.delegate didFinishPasswordEditing:YES];