1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

Save preferences before updating QBtSession.

This commit is contained in:
sledgehammer999 2012-11-30 01:32:11 +02:00
parent 93cdd1b98c
commit a50aa2d8e5

View File

@ -596,6 +596,7 @@ void AddNewTorrentDialog::on_buttonBox_accepted()
pref.useAdditionDialog(!ui->never_show_cb->isChecked());
if (ui->default_save_path_cb->isChecked()) {
pref.setSavePath(ui->save_path_combo->itemData(ui->save_path_combo->currentIndex()).toString());
pref.sync();
QBtSession::instance()->configureSession();
}
}