Browse Source

Save preferences before updating QBtSession.

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

1
src/addnewtorrentdialog.cpp

@ -596,6 +596,7 @@ void AddNewTorrentDialog::on_buttonBox_accepted()
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());
pref.sync();
QBtSession::instance()->configureSession(); QBtSession::instance()->configureSession();
} }
} }

Loading…
Cancel
Save