mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-26 16:13:58 -06:00
Show proper printer names on printer selection page (#9363)
* Show actual printer name from sub_path files on printer selection screen * Merge branch 'main' into bugfox/preset-name-consistency
This commit is contained in:
parent
86f4c3a014
commit
038b25627e
3 changed files with 7 additions and 6 deletions
|
@ -1212,6 +1212,7 @@ int GuideFrame::LoadProfileFamily(std::string strVendor, std::string strFilePath
|
|||
json pm = json::parse(contents);
|
||||
// wxLogMessage("GUIDE: json_path2 loaded");
|
||||
|
||||
OneModel["name"] = pm["name"];
|
||||
OneModel["vendor"] = strVendor;
|
||||
std::string NozzleOpt = pm["nozzle_diameter"];
|
||||
StringReplace(NozzleOpt, " ", "");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue