[self updateTorrentsInQueue];
- #warning perhaps check if torrent is selected in inspector
- [fInfoController updateInfoStats];
- [fInfoController updateOptions];
+ if ([[fTableView selectedTorrents] containsObject: torrent])
+ {
+ [fInfoController updateInfoStats];
+ [fInfoController updateOptions];
+ }
if (!fSoundPlaying && [fDefaults boolForKey: @"PlaySeedingSound"])
{
- (void) rpcChangedTorrent: (Torrent *) torrent
{
[torrent update];
- [torrent release];
- #warning check if torrent is selected?
- [fInfoController updateInfoStats];
- [fInfoController updateOptions];
+ if ([[fTableView selectedTorrents] containsObject: torrent])
+ {
+ [fInfoController updateInfoStats];
+ [fInfoController updateOptions];
+ }
+
+ [torrent release];
}
@end