Another magnet fix

This commit is contained in:
Christophe Dumez 2010-06-24 18:18:40 +00:00
parent 2104e4e2ce
commit faed0ba45a

View file

@ -430,7 +430,7 @@ void torrentAdditionDialog::renameSelectedFile() {
save_path = save_path.replace("\\", "/");
#endif
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);
} else {
const QDir saveDir(save_path);