Enhanced Context menu on outline view

This commit is contained in:
michael starke
2013-07-30 00:23:25 +02:00
parent 514477d6fc
commit e33a9fdc93
26 changed files with 278 additions and 71 deletions

View File

@@ -66,9 +66,9 @@
- (void)_updateBindings {
if(self.group) {
[self.titleTextField bind:NSValueBinding toObject:self.group withKeyPath:@"name" options:nil];
[self.titleTextField bind:NSValueBinding toObject:self.group withKeyPath:@"nameUndoable" options:nil];
if([self.group respondsToSelector:@selector(notes:)]) {
[self.notesTextView bind:NSValueBinding toObject:self.group withKeyPath:@"notes" options:nil];
[self.notesTextView bind:NSValueBinding toObject:self.group withKeyPath:@"notesUndoable" options:nil];
}
else {
[self.notesTextView unbind:NSValueBinding];