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:
Marcian Lytwyn 2015-07-01 23:31:10 +00:00
parent a5f529e0df
commit e8717e9f70

View file

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