switched from selected to clicked row in copy actions

fixed refactoring but in clipboard clearing
This commit is contained in:
michael starke
2013-03-02 23:39:28 +01:00
parent b021aefd51
commit 72bf306a3c
3 changed files with 5 additions and 6 deletions

View File

@@ -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];