Merge pull request #3197 from daboe01/outlineview-fixes

removed: dead code
This commit is contained in:
daboe01 authored and GitHub committed 2026-03-08 21:09:20 +01:00
commit a32b2d5f73
1 file changed
-18
-18
View File
@@ -2440,24 +2440,6 @@ var colorForDisclosureTriangle = function(isSelected, isHighlighted)
CPTreeNode _rootNode;
}
- (void)bind
{
// 1. Set the data source FIRST so that it is ready when
//[super bind] triggers the initial synchronous setValueFor:
[_source setDataSource:self];
// 2. Establish KVO (which immediately triggers setValueFor:)
[super bind];
}
- (void)unbind
{
if ([_source dataSource] === self)
[_source setDataSource:nil];
[super unbind];
}
- (void)setValueFor:(CPString)aBinding
{
var destination = [_info objectForKey:CPObservedObjectKey],