fix error where the table would lose track of the selected torrent when sorting by activity

This commit is contained in:
Mitchell Livingston
2008-01-20 18:28:28 +00:00
parent 5e12a8b90d
commit bf146526bf
3 changed files with 29 additions and 56 deletions
+3 -1
View File
@@ -38,7 +38,7 @@
IBOutlet NSMenu * fContextRow, * fContextNoRow;
int fMouseControlRow, fMouseRevealRow, fMouseActionRow, fMouseActionIconRow, fActionPushedRow;
NSIndexSet * fSelectedIndexes;
NSArray * fSelectedTorrents;
NSMutableArray * fKeyStrokes;
@@ -57,6 +57,8 @@
- (void) setActionButtonHover: (int) row;
- (void) setActionIconButtonHover: (int) row;
- (void) selectTorrents: (NSArray *) torrents;
- (void) toggleControlForTorrent: (Torrent *) torrent;
- (void) displayTorrentMenuForEvent: (NSEvent *) event;