diff --git a/MasterPassword/ObjC/Mac/MPPasswordWindowController.m b/MasterPassword/ObjC/Mac/MPPasswordWindowController.m index 7376380c..ade371f4 100644 --- a/MasterPassword/ObjC/Mac/MPPasswordWindowController.m +++ b/MasterPassword/ObjC/Mac/MPPasswordWindowController.m @@ -427,15 +427,13 @@ case NSAlertFirstButtonReturn: { // "Copy Answer" button. [self copyContent:self.securityAnswerField.stringValue]; + [self.window close]; break; } default: break; } }]; - PearlMainQueueAfter(2, ^{ - [[[alert buttons] firstObject] becomeFirstResponder]; - }); } #pragma mark - Private @@ -475,7 +473,6 @@ // Performing action while content is available. Copy it. [self copyContent:self.shiftPressed? selectedSite.answer: selectedSite.content]; - [self.window close]; NSUserNotification *notification = [NSUserNotification new]; diff --git a/MasterPassword/ObjC/Mac/MPPasswordWindowController.xib b/MasterPassword/ObjC/Mac/MPPasswordWindowController.xib index 7c2ac14f..cfc91f6a 100644 --- a/MasterPassword/ObjC/Mac/MPPasswordWindowController.xib +++ b/MasterPassword/ObjC/Mac/MPPasswordWindowController.xib @@ -432,12 +432,12 @@ - + @@ -733,7 +733,7 @@ Use the arrows ⇅ to navigate the list or esc ⎋ to exit. - + @@ -746,7 +746,7 @@ Use the arrows ⇅ to navigate the list or esc ⎋ to exit. - + @@ -879,7 +879,7 @@ Use the arrows ⇅ to navigate the list or esc ⎋ to exit. - + @@ -916,7 +916,7 @@ Use the arrows ⇅ to navigate the list or esc ⎋ to exit. - + @@ -953,7 +953,7 @@ Use the arrows ⇅ to navigate the list or esc ⎋ to exit. - + @@ -1232,13 +1232,12 @@ Use the arrows ⇅ to navigate the list or esc ⎋ to exit. - - + @@ -1248,8 +1247,8 @@ Use the arrows ⇅ to navigate the list or esc ⎋ to exit. - - + + @@ -1257,16 +1256,19 @@ Use the arrows ⇅ to navigate the list or esc ⎋ to exit. - + + Enter a keyword for a question-specific answer (eg. "mother") - + + + @@ -1308,7 +1310,6 @@ Use the arrows ⇅ to navigate the list or esc ⎋ to exit. -