Browse Source

Another magnet fix

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
faed0ba45a
  1. 2
      src/torrentadditiondlg.cpp

2
src/torrentadditiondlg.cpp

@ -430,7 +430,7 @@ void torrentAdditionDialog::renameSelectedFile() {
save_path = save_path.replace("\\", "/"); save_path = save_path.replace("\\", "/");
#endif #endif
save_path = misc::expandPath(save_path); save_path = misc::expandPath(save_path);
if(t->num_files() == 1) { if(!is_magnet && t->num_files() == 1) {
new_path = QFileDialog::getSaveFileName(this, tr("Choose save path"), save_path); new_path = QFileDialog::getSaveFileName(this, tr("Choose save path"), save_path);
} else { } else {
const QDir saveDir(save_path); const QDir saveDir(save_path);

Loading…
Cancel
Save