OutlineView should decode a new instance of tableview delegate

This commit is contained in:
cacaodev
2011-01-03 20:24:01 -06:00
committed by Randall Luecke
parent 33882942e4
commit 9cdcbb1988
+1
View File
@@ -1724,6 +1724,7 @@ var CPOutlineViewIndentationPerLevelKey = @"CPOutlineViewIndentationPerLevelKey"
_outlineViewDelegate = [aCoder decodeObjectForKey:CPOutlineViewDelegateKey];
[super setDataSource:[[_CPOutlineViewTableViewDataSource alloc] initWithOutlineView:self]];
[super setDelegate:[[_CPOutlineViewTableViewDelegate alloc] initWithOutlineView:self]];
}
return self;