Browse Source

- Fix a crash when hitting "change save path" button and no torrent is selected

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
6f69ab2b6d
  1. 1
      src/propertieswidget.cpp

1
src/propertieswidget.cpp

@ -568,6 +568,7 @@ bool PropertiesWidget::applyPriorities() {
void PropertiesWidget::on_changeSavePathButton_clicked() { void PropertiesWidget::on_changeSavePathButton_clicked() {
if(!h.is_valid()) return;
QString dir; QString dir;
QDir saveDir(h.save_path()); QDir saveDir(h.save_path());
if(saveDir.exists()){ if(saveDir.exists()){

Loading…
Cancel
Save