Cleaned up merge and removed unnessisary selectionIsChanging notification.

This commit is contained in:
Randall Luecke committed 2010-01-29 01:37:57 -05:00
1 parent df98483b06
commit b9b2649db9
1 file changed
+1 -6
+1 -6
View File
@@ -656,10 +656,7 @@ window.setTimeout(function(){
- (void)selectRowIndexes:(CPIndexSet)rows byExtendingSelection:(BOOL)shouldExtendSelection
{
if (([rows firstIndex] != CPNotFound && [rows firstIndex] < 0) || [rows lastIndex] >= [self numberOfRows])
return;
if ([rows isEqualToIndexSet:_selectedRowIndexes])
if ([rows isEqualToIndexSet:_selectedRowIndexes] || (([rows firstIndex] != CPNotFound && [rows firstIndex] < 0) || [rows lastIndex] >= [self numberOfRows]))
return;
// We deselect all columns when selecting rows.
@@ -2578,8 +2575,6 @@ window.setTimeout(function(){
[self selectRowIndexes:newSelection byExtendingSelection:NO];
[self _noteSelectionIsChanging];
}
- (void)_noteSelectionIsChanging