diff --git a/MacPass/Base.lproj/PasswordInputView.xib b/MacPass/Base.lproj/PasswordInputView.xib index db8d5c39..52a50e46 100644 --- a/MacPass/Base.lproj/PasswordInputView.xib +++ b/MacPass/Base.lproj/PasswordInputView.xib @@ -25,7 +25,7 @@ - + @@ -85,14 +85,14 @@ DQ - + - + @@ -109,7 +109,7 @@ DQ - + diff --git a/MacPass/MPPathControl.m b/MacPass/MPPathControl.m index ff5fbdae..77018ac3 100644 --- a/MacPass/MPPathControl.m +++ b/MacPass/MPPathControl.m @@ -10,14 +10,17 @@ @implementation MPPathControl -/*- (BOOL)canBecomeKeyView { +- (BOOL)canBecomeKeyView { return YES; } - (BOOL)acceptsFirstResponder { - return YES; + /* + documentation state YES is required when canBecomeKeyView is YES but setting to YES + causes NSWindow to use this as first responder when closing the password generator popover + */ + return NO; } -*/ - (instancetype)initWithFrame:(NSRect)frameRect { self = [super initWithFrame:frameRect];