mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-23 11:29:31 +00:00
Enhanced Context menu on outline view
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user