Added PasteboardController to handle pasteboard cleanup on shutdown and timeout

This commit is contained in:
michael starke
2013-03-02 23:31:28 +01:00
parent b26434569c
commit b021aefd51
17 changed files with 504 additions and 156 deletions

View File

@@ -57,7 +57,9 @@ NSString *const _MPOutlinveViewHeaderViewIdentifier = @"HeaderCell";
NSOutlineView *outlineView = [notification object];
KdbGroup *selectedGroup = [outlineView itemAtRow:[outlineView selectedRow]];
self.selectedGroup = selectedGroup;
#ifdef DEBUG
NSLog(@"Selected: %@", self.selectedGroup);
#endif
[[NSNotificationCenter defaultCenter] postNotificationName:MPOutlineViewDidChangeGroupSelection object:self userInfo:nil];
}