Fixed Issue with non-initalized password repeat filed on first load of the databaseSettings window

This commit is contained in:
michael starke
2013-07-19 18:26:42 +02:00
parent 8d34f77a1f
commit 5e6e31fb47

View File

@@ -201,7 +201,7 @@
- (void)_setupPasswordTab:(Kdb4Tree *)tree { - (void)_setupPasswordTab:(Kdb4Tree *)tree {
[self.passwordTextField setStringValue:_document.password ? _document.password : @""]; [self.passwordTextField setStringValue:_document.password ? _document.password : @""];
[self.passwordRepeatTextField setStringValue:[self.passwordRepeatTextField stringValue]]; [self.passwordRepeatTextField setStringValue:[self.passwordTextField stringValue]];
self.keyURL = _document.key; self.keyURL = _document.key;
NSDictionary *negateOption = @{ NSValueTransformerNameBindingOption : NSNegateBooleanTransformerName }; NSDictionary *negateOption = @{ NSValueTransformerNameBindingOption : NSNegateBooleanTransformerName };