Added window shake on wrong password entry

This commit is contained in:
michael starke
2014-02-21 19:07:05 +01:00
parent 4b6db6c07a
commit f899fdca0f
4 changed files with 10 additions and 2 deletions

View File

@@ -14,6 +14,7 @@
#import "MPKeyfilePathControlDelegate.h"
#import "HNHRoundedSecureTextField.h"
#import "NSWindow+Shake.h"
#import "NSError+Messages.h"
@interface MPPasswordInputController ()
@@ -96,6 +97,7 @@
keyFileURL:[self.keyPathControl URL]
error:&error]) {
[self _showError:error];
[[[self view] window] shakeWindow:nil];
}
}
}