From 2047901eae2f931eba0b9672ffa235b4d4ec1edd Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Tue, 15 Jan 2008 04:03:06 +0000 Subject: [PATCH] get table buttons working again --- macosx/TorrentTableView.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/macosx/TorrentTableView.m b/macosx/TorrentTableView.m index 4b42d1294..e25fa066b 100644 --- a/macosx/TorrentTableView.m +++ b/macosx/TorrentTableView.m @@ -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