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