mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Merge Source/NSObjectController.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38733 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a5f529e0df
commit
e8717e9f70
1 changed files with 4 additions and 2 deletions
|
@ -104,8 +104,10 @@
|
|||
triggerChangeNotificationsForDependentKey: @"canAdd"];
|
||||
[self setKeys: [NSArray arrayWithObject: @"editable"]
|
||||
triggerChangeNotificationsForDependentKey: @"canRemove"];
|
||||
[self setKeys: [NSArray arrayWithObject: @"content"]
|
||||
[self setKeys: [NSArray arrayWithObjects: @"content", NSContentObjectBinding, nil]
|
||||
triggerChangeNotificationsForDependentKey: @"selectedObjects"];
|
||||
[self setKeys: [NSArray arrayWithObjects: @"content", NSContentObjectBinding, nil]
|
||||
triggerChangeNotificationsForDependentKey: @"selection"];
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -353,7 +355,7 @@
|
|||
- (id) selection
|
||||
{
|
||||
// TODO
|
||||
return nil;
|
||||
return _content;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue