Better behavior for always ask for location.
This commit is contained in:
parent
355ae372cf
commit
0e334e4d2f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue