Browse Source

Fix "Create subfolder" in AddNewTorrentDialog

adaptive-webui-19844
Vladimir Golovnev (qlassez) 8 years ago committed by Vladimir Golovnev
parent
commit
f259bde275
  1. 2
      src/gui/addnewtorrentdialog.cpp

2
src/gui/addnewtorrentdialog.cpp

@ -642,7 +642,7 @@ void AddNewTorrentDialog::accept() @@ -642,7 +642,7 @@ void AddNewTorrentDialog::accept()
params.filePriorities = m_contentModel->model()->getFilePriorities();
params.addPaused = TriStateBool(!ui->startTorrentCheckBox->isChecked());
params.createSubfolder = !ui->startTorrentCheckBox->isChecked();
params.createSubfolder = ui->createSubfolderCheckBox->isChecked();
QString savePath = ui->savePathComboBox->itemData(ui->savePathComboBox->currentIndex()).toString();
if (ui->comboTTM->currentIndex() != 1) { // 0 is Manual mode and 1 is Automatic mode. Handle all non 1 values as manual mode.

Loading…
Cancel
Save