mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
#2342 fix bug where setting the global per-torrent limit does not apply to newly-added transfers until a restart
This commit is contained in:
@@ -457,6 +457,7 @@ tr_session * fHandle;
|
||||
{
|
||||
const int count = [sender intValue];
|
||||
[fDefaults setInteger: count forKey: @"PeersTorrent"];
|
||||
tr_sessionSetPeerLimitPerTorrent(fHandle, count);
|
||||
}
|
||||
|
||||
- (void) setPEX: (id) sender
|
||||
|
||||
Reference in New Issue
Block a user