Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Clear the field upon entering an incorrect passphrase to prevent the …

…queuing of additional enter-presses.
  • Loading branch information...
commit f4cdaaac8ad3d41f9bbc1e8353aa20eb7366f8eb 1 parent 446374e
Zachary Schneirov authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  PassphraseRetriever.m
View
2  PassphraseRetriever.m
@@ -109,6 +109,8 @@ - (IBAction)okAction:(id)sender {
} else {
NSBeginAlertSheet(NSLocalizedString(@"Sorry, you entered an incorrect passphrase.",nil), NSLocalizedString(@"OK",nil),
nil, nil, window, nil, NULL, NULL, NULL, NSLocalizedString(@"Please try again.",nil));
+ [passphraseField setStringValue:@""];
+ [self textDidChange:nil];
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.