mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-14 14:12:31 +00:00
* Allow a list of commands to be called on a newly created download
before it is started. * The "load_*" commands now allow a list of commands to be appended. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@941 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -278,9 +278,10 @@ DownloadList::receive_exit_input(Input type) {
|
||||
|
||||
case INPUT_LOAD_DEFAULT:
|
||||
case INPUT_LOAD_MODIFIED:
|
||||
if (!input->str().empty())
|
||||
control->core()->try_create_download_expand(input->str(), type == INPUT_LOAD_DEFAULT);
|
||||
if (input->str().empty())
|
||||
break;
|
||||
|
||||
control->core()->try_create_download_expand(input->str(), type == INPUT_LOAD_DEFAULT ? core::Manager::create_start : 0);
|
||||
break;
|
||||
|
||||
case INPUT_CHANGE_DIRECTORY:
|
||||
|
||||
Reference in New Issue
Block a user