Fixed a bug where CPTableView doesn't scroll to the top index when using the arrow keys.

This commit is contained in:
chandlerkent authored and Randall Luecke committed 2010-02-08 00:49:08 -05:00
1 parent 24e8f8aa43
commit 9034203a4f
1 file changed
+1 -3
+1 -3
View File
@@ -2848,10 +2848,8 @@ CPTableViewFirstColumnOnlyAutoresizingStyle = 5;
[self selectRowIndexes:[CPIndexSet indexSetWithIndex:i] byExtendingSelection:extend];
if(i)
{
if(i >= 0)
[self scrollRowToVisible:i];
}
}
- (void)deleteBackward:(id)sender