mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-04 09:53:41 +00:00
Proper decoding of delegate and datasource for the tableview.
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user