mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-20 13:17:54 -06:00
fix filename encode issue when download chinese filename (#7542)
This commit is contained in:
parent
771373e6aa
commit
565619a216
1 changed files with 2 additions and 2 deletions
|
@ -159,7 +159,7 @@ void Downloader::start_download(const std::string& full_url)
|
|||
size_t id = get_next_id();
|
||||
std::string escaped_url = FileGet::escape_url(full_url.substr(results.length()));
|
||||
if (is_bambustudio_open(full_url) || (is_orca_open(full_url) && is_makerworld_link(full_url)))
|
||||
plater->request_model_download(escaped_url);
|
||||
plater->request_model_download(wxString::FromUTF8(escaped_url));
|
||||
else {
|
||||
std::string text(escaped_url);
|
||||
m_downloads.emplace_back(std::make_unique<Download>(id, std::move(escaped_url), this, m_dest_folder));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue