mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 16:22:21 +00:00
Set default button in password change dialog
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
- (void)windowDidLoad {
|
||||
[super windowDidLoad];
|
||||
[self.togglePasswordButton bind:NSValueBinding toObject:self withKeyPath:@"showPassword" options:nil];
|
||||
[[self window] setDefaultButtonCell:[self.changePasswordButton cell]];
|
||||
}
|
||||
|
||||
- (void)updateView {
|
||||
|
||||
Reference in New Issue
Block a user