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)

This commit is contained in:
enricoturri1966 2022-02-23 14:56:16 +01:00 committed by Lukas Matena
parent 97fb6d22dd
commit b4c11dfc83

View file

@ -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())