mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-14 20:44:29 +00:00
Fix a potential infinite loop in CPBrowser.
This commit is contained in:
1 parent
243f564396
commit
1e7a3bef0d
1 file changed
+3
@@ -570,6 +570,9 @@
|
||||
|
||||
- (CPIndexSet)selectedRowIndexesInColumn:(unsigned)column
|
||||
{
|
||||
if (column < 0 || column > [self lastColumn] +1)
|
||||
return [CPIndexSet indexSet];
|
||||
|
||||
return [[self tableViewInColumn:column] selectedRowIndexes];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user