Browse Source

Update the qbtsession when set a new default path.

adaptive-webui-19844
sledgehammer999 12 years ago
parent
commit
93cdd1b98c
  1. 4
      src/addnewtorrentdialog.cpp

4
src/addnewtorrentdialog.cpp

@ -594,6 +594,8 @@ void AddNewTorrentDialog::on_buttonBox_accepted()
saveSavePathHistory(); saveSavePathHistory();
// Save settings // Save settings
pref.useAdditionDialog(!ui->never_show_cb->isChecked()); pref.useAdditionDialog(!ui->never_show_cb->isChecked());
if (ui->default_save_path_cb->isChecked()) if (ui->default_save_path_cb->isChecked()) {
pref.setSavePath(ui->save_path_combo->itemData(ui->save_path_combo->currentIndex()).toString()); pref.setSavePath(ui->save_path_combo->itemData(ui->save_path_combo->currentIndex()).toString());
QBtSession::instance()->configureSession();
}
} }

Loading…
Cancel
Save