mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-13 06:18:59 +08:00
Fix error checking during bulk export
There is no reason to check for file extension nor special characters when a directory is picked.
This commit is contained in:
parent
7cd7af5730
commit
3896ddc40c
@ -5947,11 +5947,6 @@ std::optional<fs::path> Plater::get_multiple_output_dir(const std::string &start
|
||||
}
|
||||
|
||||
const fs::path output_path{into_path(dlg.GetPath())};
|
||||
if (auto error{check_output_path_has_error(output_path)}) {
|
||||
const t_link_clicked on_link_clicked = [](const std::string& key) -> void { wxGetApp().jump_to_option(key); };
|
||||
ErrorDialog(this, *error, on_link_clicked).ShowModal();
|
||||
return std::nullopt;
|
||||
}
|
||||
return output_path;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user