The checking for autostarting in the inspector now correctly starts the transfer if it is able to.

This commit is contained in:
Mitchell Livingston
2006-06-23 23:14:40 +00:00
parent 4151da3b5d
commit c8ce7ebd21
2 changed files with 4 additions and 7 deletions

View File

@@ -1039,8 +1039,7 @@ static void sleepCallBack(void * controller, io_service_t y,
- (void) torrentStartSettingChange: (NSNotification *) notification
{
Torrent * torrent = [notification object];
[self attemptToStartAuto: torrent];
[self attemptToStartAuto: [notification object]];
[self updateUI: nil];
[self updateTorrentHistory];
@@ -1050,7 +1049,6 @@ static void sleepCallBack(void * controller, io_service_t y,
- (void) attemptToStartAuto: (Torrent *) torrent
{
#warning should check if transfer was already done
NSLog([torrent name]);
if (![torrent waitingToStart])
return;