Set default button in password change dialog

This commit is contained in:
michael starke
2013-11-09 23:16:26 +01:00
parent e8a44117f4
commit c4a4996082

View File

@@ -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 {