mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 23:55:59 +08:00
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:
parent
97fb6d22dd
commit
b4c11dfc83
@ -752,7 +752,7 @@ void GUI_App::post_init()
|
|||||||
if (boost::algorithm::iends_with(filename, ".amf") ||
|
if (boost::algorithm::iends_with(filename, ".amf") ||
|
||||||
boost::algorithm::iends_with(filename, ".amf.xml") ||
|
boost::algorithm::iends_with(filename, ".amf.xml") ||
|
||||||
boost::algorithm::iends_with(filename, ".3mf"))
|
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())
|
if (! this->init_params->extra_config.empty())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user