diff --git a/AppKit/CPTableView.j b/AppKit/CPTableView.j index eb7fc5675..85849c6a4 100644 --- a/AppKit/CPTableView.j +++ b/AppKit/CPTableView.j @@ -1152,7 +1152,8 @@ CPTableViewFirstColumnOnlyAutoresizingStyle = 5; _numberOfRows = [_dataSource numberOfRowsInTableView:self]; else { - CPLog(@"no content binding established and data source " + [_dataSource description] + " does not implement numberOfRowsInTableView:"); + if (_dataSource) + CPLog(@"no content binding established and data source " + [_dataSource description] + " does not implement numberOfRowsInTableView:"); _numberOfRows = 0; }