Clear key file button not working at password input. Fixes #184

This commit is contained in:
michael starke
2014-08-11 20:02:45 +02:00
parent fa30d4fca2
commit dc15bc7744

View File

@@ -103,7 +103,13 @@
}
- (IBAction)resetKeyFile:(id)sender {
/* If the reset was triggerd by ourselves we want to preselct the keyfile */
if(sender == self) {
[self _selectKeyURL];
}
else {
[self.keyPathControl setURL:nil];
}
}
- (void)_reset {
@@ -112,7 +118,7 @@
[self.passwordTextField setStringValue:@""];
[self.errorInfoTextField setHidden:YES];
[self.errorImageView setHidden:YES];
[self resetKeyFile:nil];
[self resetKeyFile:self];
}
- (void)_selectKeyURL {