1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-03 21:12:05 +00:00

acknowledge the start check

This commit is contained in:
Mitchell Livingston 2008-01-04 04:54:26 +00:00
parent e9e5638664
commit b83cf33f28
3 changed files with 5 additions and 1 deletions

View file

@ -117,6 +117,8 @@
- (void) add: (id) sender
{
[fTorrent setWaitToStart: [fStartCheck state] == NSOnState];
[fController askOpenConfirmed: fTorrent];
#warning remove if necessary

View file

@ -778,6 +778,8 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
[[[AddWindowController alloc] initWithTorrent: torrent destination: location controller: self] showWindow: self];
else
{
[torrent setWaitToStart: [fDefaults boolForKey: @"AutoStartDownload"]];
[torrent update];
[fTorrents addObject: torrent];
[torrent release];

View file

@ -1548,7 +1548,7 @@ void completenessChangeCallback(tr_torrent * torrent, cp_status_t status, void *
fRatioLimit = ratioLimit ? [ratioLimit floatValue] : [fDefaults floatForKey: @"RatioLimit"];
fFinishedSeeding = NO;
fWaitToStart = waitToStart ? [waitToStart boolValue] : [fDefaults boolForKey: @"AutoStartDownload"];
fWaitToStart = waitToStart && [waitToStart boolValue];
fOrderValue = orderValue ? [orderValue intValue] : tr_torrentCount(fLib) - 1;
fGroupValue = groupValue ? [groupValue intValue] : -1;