1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 09:37:56 +00:00

get table buttons working again

This commit is contained in:
Mitchell Livingston 2008-01-15 04:03:06 +00:00
parent 9685e9563b
commit 2047901eae

View file

@ -171,9 +171,10 @@
[super updateCell: cell];
}
- (NSIndexSet *)tableView:(NSTableView *)tableView selectionIndexesForProposedSelection:(NSIndexSet *)proposedSelectionIndexes
- (void)tableViewSelectionIsChanging:(NSNotification *)aNotification
{
return fSelectedIndexes ? fSelectedIndexes : proposedSelectionIndexes;
if (fSelectedIndexes)
[self selectRowIndexes: fSelectedIndexes byExtendingSelection: NO];
}
- (void) mouseDown: (NSEvent *) event