Better behavior for always ask for location.

This commit is contained in:
Mitchell Livingston 2006-08-08 23:18:50 +00:00
parent 355ae372cf
commit 0e334e4d2f
1 changed files with 5 additions and 1 deletions

View File

@ -485,7 +485,7 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
[panel setMessage: [NSString stringWithFormat: @"Select the download folder for \"%@\"", [torrent name]]]; [panel setMessage: [NSString stringWithFormat: @"Select the download folder for \"%@\"", [torrent name]]];
[panel beginSheetForDirectory: nil file: nil types: nil modalForWindow: fWindow modalDelegate: self [panel beginSheetForDirectory: nil file: nil types: nil modalForWindow: fWindow modalDelegate: self
didEndSelector: @selector(folderChoiceClosed:returnCode:contextInfo:) contextInfo: torrent]; didEndSelector: @selector(folderChoiceClosed:returnCode:contextInfo:) contextInfo: [torrent retain]];
} }
else else
{ {
@ -519,7 +519,11 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
[self attemptToStartAuto: torrent]; [self attemptToStartAuto: torrent];
[fTorrents addObject: torrent]; [fTorrents addObject: torrent];
[self updateUI: nil];
[self applyFilter: nil];
} }
[torrent release];
} }
//called on by applescript //called on by applescript