Proper decoding of delegate and datasource for the tableview.

This commit is contained in:
Randall Luecke
2010-09-27 17:56:48 -04:00
parent e55cbbdc0e
commit ee64c5d832
+2 -2
View File
@@ -3576,8 +3576,8 @@ var CPTableViewDataSourceKey = @"CPTableViewDataSourceKey",
if (_cornerView)
[_cornerView setHidden:NO];
_dataSource = [aCoder decodeObjectForKey:CPTableViewDataSourceKey];
_delegate = [aCoder decodeObjectForKey:CPTableViewDelegateKey];
[self setDataSource:[aCoder decodeObjectForKey:CPTableViewDataSourceKey]];
[self setDelegate:[aCoder decodeObjectForKey:CPTableViewDelegateKey]];
[self _init];