mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Update the qbtsession when set a new default path.
This commit is contained in:
parent
d6353fc3b2
commit
93cdd1b98c
1 changed files with 3 additions and 1 deletions
|
@ -594,6 +594,8 @@ void AddNewTorrentDialog::on_buttonBox_accepted()
|
|||
saveSavePathHistory();
|
||||
// Save settings
|
||||
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());
|
||||
QBtSession::instance()->configureSession();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue