Fixed error when headerview was set to nil on the CPTableView.

This commit is contained in:
Randall Luecke committed 2010-02-20 17:44:45 -05:00
1 parent 74fd7eb793
commit 629428739d
1 file changed
+3
+3
View File
@@ -418,6 +418,9 @@ var _CPTableColumnHeaderViewStringValueKey = @"_CPTableColumnHeaderViewStringVal
- (void)drawRect:(CGRect)aRect
{
if (!_tableView)
return;
var context = [[CPGraphicsContext currentContext] graphicsPort],
exposedColumnIndexes = [_tableView columnIndexesInRect:aRect],
columnsArray = [],