mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-19 07:19:30 +00:00
switched from selected to clicked row in copy actions
fixed refactoring but in clipboard clearing
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user