Fix a potential infinite loop in CPBrowser.

This commit is contained in:
Ross Boucher committed 2010-04-26 12:56:52 -07:00
1 parent 243f564396
commit 1e7a3bef0d
1 file changed
+3
+3
View File
@@ -570,6 +570,9 @@
- (CPIndexSet)selectedRowIndexesInColumn:(unsigned)column
{
if (column < 0 || column > [self lastColumn] +1)
return [CPIndexSet indexSet];
return [[self tableViewInColumn:column] selectedRowIndexes];
}