mirror of
https://github.com/transmission/transmission
synced 2025-03-15 16:29:34 +00:00
Update Torrent.mm (#2777)
This commit is contained in:
parent
0be920156b
commit
4f2472cd93
1 changed files with 3 additions and 0 deletions
|
@ -197,6 +197,9 @@ bool trashDataFile(char const* filename, tr_error** error)
|
|||
|
||||
- (void)setResumeStatusForTorrent:(Torrent*)torrent withHistory:(NSDictionary*)history forcePause:(BOOL)pause
|
||||
{
|
||||
//restore GroupValue
|
||||
torrent.groupValue = [history[@"GroupValue"] intValue];
|
||||
|
||||
//start transfer
|
||||
NSNumber* active;
|
||||
if (!pause && (active = history[@"Active"]) && active.boolValue)
|
||||
|
|
Loading…
Add table
Reference in a new issue