mirror of
https://github.com/transmission/transmission
synced 2025-03-04 02:28:03 +00:00
don't reload the table info when the the same torrents are selected
This commit is contained in:
parent
598cb4a0d5
commit
a9213b0f4b
1 changed files with 3 additions and 0 deletions
|
@ -195,6 +195,9 @@ typedef enum
|
||||||
|
|
||||||
- (void) setInfoForTorrents: (NSArray *) torrents
|
- (void) setInfoForTorrents: (NSArray *) torrents
|
||||||
{
|
{
|
||||||
|
if (fTorrents && [fTorrents isEqualToArray: torrents])
|
||||||
|
return;
|
||||||
|
|
||||||
[fTorrents release];
|
[fTorrents release];
|
||||||
fTorrents = [torrents retain];
|
fTorrents = [torrents retain];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue