mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 01:52:11 +00: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:
@@ -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, " ", "");
|
||||
|
||||
Reference in New Issue
Block a user