|
|
@ -714,6 +714,7 @@ void PropertiesWidget::on_changeSavePathButton_clicked() { |
|
|
|
QString save_path_dir = new_path.replace("\\", "/"); |
|
|
|
QString save_path_dir = new_path.replace("\\", "/"); |
|
|
|
QString new_file_name; |
|
|
|
QString new_file_name; |
|
|
|
if(h.has_metadata() && h.num_files() == 1) { |
|
|
|
if(h.has_metadata() && h.num_files() == 1) { |
|
|
|
|
|
|
|
new_file_name = misc::fileName(save_path_dir); // New file name
|
|
|
|
save_path_dir = misc::branchPath(save_path_dir, true); // Skip file name
|
|
|
|
save_path_dir = misc::branchPath(save_path_dir, true); // Skip file name
|
|
|
|
} |
|
|
|
} |
|
|
|
QDir savePath(misc::expandPath(save_path_dir)); |
|
|
|
QDir savePath(misc::expandPath(save_path_dir)); |
|
|
|