mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-21 05:59:22 +00:00
Cleaned up merge and removed unnessisary selectionIsChanging notification.
This commit is contained in:
1 parent
df98483b06
commit
b9b2649db9
1 file changed
+1
-6
@@ -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
|
||||
|
||||
Reference in new issue
Block a user