Browse Source

Fix seeding failed after creating a new torrent

Closes #11252.
adaptive-webui-19844
Chocobo1 5 years ago
parent
commit
e3b9659fb8
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 1
      src/gui/torrentcreatordialog.cpp

1
src/gui/torrentcreatordialog.cpp

@ -210,6 +210,7 @@ void TorrentCreatorDialog::handleCreationSuccess(const QString &path, const QStr @@ -210,6 +210,7 @@ void TorrentCreatorDialog::handleCreationSuccess(const QString &path, const QStr
params.savePath = branchPath;
params.skipChecking = true;
params.ignoreShareLimits = m_ui->checkIgnoreShareLimits->isChecked();
params.useAutoTMM = TriStateBool::False; // otherwise if it is on by default, it will overwrite `savePath` to the default save path
BitTorrent::Session::instance()->addTorrent(t, params);
}

Loading…
Cancel
Save