mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-29 01:42:03 +00:00
Remove old code. Adds Equality check in -setDataView:
This commit is contained in:
1 parent
0a1d215560
commit
b42b41216b
1 file changed
+2
-2
@@ -394,8 +394,8 @@ CPTableColumnUserResizingMask = 1 << 1;
|
||||
*/
|
||||
- (void)setDataView:(CPView)aView
|
||||
{
|
||||
if (_dataView)
|
||||
_dataViewData = nil;
|
||||
if (_dataView === aView)
|
||||
return;
|
||||
|
||||
[aView setThemeState:CPThemeStateTableDataView];
|
||||
|
||||
|
||||
Reference in new issue
Block a user