mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-22 18:49:27 +00:00
Fixed decryption error handling
This commit is contained in:
@@ -46,6 +46,10 @@
|
||||
return self.passwordTextField;
|
||||
}
|
||||
|
||||
- (void)requestPassword {
|
||||
[self _reset];
|
||||
}
|
||||
|
||||
- (IBAction)_decrypt:(id)sender {
|
||||
MPDocumentWindowController *windowController = (MPDocumentWindowController *)[[[self view] window] windowController];
|
||||
MPDocument *document = [windowController document];
|
||||
@@ -54,9 +58,10 @@
|
||||
if(!isOk) {
|
||||
[self _showError];
|
||||
}
|
||||
else {
|
||||
[windowController showEntries];
|
||||
}
|
||||
}
|
||||
[self _reset];
|
||||
[windowController showEntries];
|
||||
}
|
||||
|
||||
- (void)_reset {
|
||||
|
||||
Reference in New Issue
Block a user