get table buttons working again

This commit is contained in:
Mitchell Livingston 2008-01-15 04:03:06 +00:00
parent 9685e9563b
commit 2047901eae
1 changed files with 3 additions and 2 deletions

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