diff --git a/MacPass/MPEntryViewController.m b/MacPass/MPEntryViewController.m index dd0609e7..dd436a9c 100644 --- a/MacPass/MPEntryViewController.m +++ b/MacPass/MPEntryViewController.m @@ -379,12 +379,11 @@ NSString *const _toggleFilterUsernameButton = @"SearchUsername"; #pragma mark Actions - (void)_copyEntryData:(id)sender { - - NSInteger selectedRow = [self.entryTable selectedRow]; - if(selectedRow > [[self.entryArrayController arrangedObjects] count]) { + NSInteger clickedRow = [self.entryTable clickedRow]; + if(clickedRow > [[self.entryArrayController arrangedObjects] count]) { return; } - KdbEntry *selectedEntry = [self.entryArrayController arrangedObjects][selectedRow]; + KdbEntry *selectedEntry = [self.entryArrayController arrangedObjects][clickedRow]; if([sender respondsToSelector:@selector(tag)]) { MPCopyContentTypeTag contentTag = (MPCopyContentTypeTag)[sender tag]; diff --git a/MacPass/MPPasteBoardController.m b/MacPass/MPPasteBoardController.m index cc3c73c6..7bf6190b 100644 --- a/MacPass/MPPasteBoardController.m +++ b/MacPass/MPPasteBoardController.m @@ -50,7 +50,7 @@ - (void)_updateNotifications { if(self.clearPasteboardOnShutdown) { - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(clearContents) name:NSApplicationWillTerminateNotification object:nil]; + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(_clearPasteboardContents) name:NSApplicationWillTerminateNotification object:nil]; } else { [[NSNotificationCenter defaultCenter] removeObserver:self]; diff --git a/MacPass/MacPass-Info.plist b/MacPass/MacPass-Info.plist index 49d07b96..1d8f3ecf 100644 --- a/MacPass/MacPass-Info.plist +++ b/MacPass/MacPass-Info.plist @@ -21,7 +21,7 @@ CFBundleSignature ???? CFBundleVersion - 37D + 37F LSMinimumSystemVersion ${MACOSX_DEPLOYMENT_TARGET} NSHumanReadableCopyright