SPE-1202 - Fixed project name after loading a 3mf file whose path contains diacritics by double clicking

This commit is contained in:
enricoturri1966 2022-02-23 14:56:16 +01:00
parent c78ee8f936
commit b4516396fe

View file

@ -754,7 +754,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())