diff options
author | enricoturri1966 <enricoturri@seznam.cz> | 2022-02-23 16:56:16 +0300 |
---|---|---|
committer | Lukas Matena <lukasmatena@seznam.cz> | 2022-02-25 16:11:06 +0300 |
commit | b4c11dfc8355ba0b14715415ff283a896802c0d1 (patch) | |
tree | 5f75349721401454f9448775321eba0cbb190042 | |
parent | 97fb6d22dd02785cf3f3a05ef9925f8d558a5490 (diff) |
SPE-1202 - Fixed project name after loading a 3mf file whose path contains diacritics by double clicking (might be a fix of #7681, #7173 and #7845)
-rw-r--r-- | src/slic3r/GUI/GUI_App.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index be2cfb601..6a05cfa76 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -752,7 +752,7 @@ void GUI_App::post_init() if (boost::algorithm::iends_with(filename, ".amf") || boost::algorithm::iends_with(filename, ".amf.xml") || boost::algorithm::iends_with(filename, ".3mf")) - this->plater()->set_project_filename(filename); + this->plater()->set_project_filename(from_u8(filename)); } } if (! this->init_params->extra_config.empty()) |