mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-17 12:51:03 +00:00
Fix non-ASCII path corruption on Windows using from_path() helper (#13036)
This commit is contained in:
1 parent
8248b06337
commit
a475e35730
5 files changed
+13
-13
No files matched your search
@@ -1541,7 +1541,7 @@ void SendToPrinterDialog::set_default()
|
||||
}
|
||||
|
||||
fs::path filename_path(filename.c_str());
|
||||
m_current_project_name = wxString::FromUTF8(filename_path.filename().string());
|
||||
m_current_project_name = from_path(filename_path.filename());
|
||||
|
||||
//unsupported character filter
|
||||
m_current_project_name = from_u8(filter_characters(m_current_project_name.ToUTF8().data(), "<>[]:/\\|?*\""));
|
||||
|
||||
Reference in new issue
Block a user