#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:
Mitchell Livingston
2009-08-17 02:10:14 +00:00
parent b1bad70a4b
commit 225640993e

View File

@@ -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