mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: show the new version
jira: [STUDIO-11558] Change-Id: I70fcb2fb8700ddcf08c922895a93c126f17a632e (cherry picked from commit 9beeebdba14f14ca470d98a12e7e7eb648749f86)
This commit is contained in:
@@ -3304,6 +3304,9 @@ int MachineObject::parse_json(std::string payload, bool key_field_only)
|
||||
ver_info.sw_ver = (*it)["sw_ver"].get<std::string>();
|
||||
if ((*it).contains("sw_new_ver"))
|
||||
ver_info.sw_new_ver = (*it)["sw_new_ver"].get<std::string>();
|
||||
if ((*it).contains("visible") && (*it).contains("new_ver")) {
|
||||
ver_info.sw_new_ver = (*it)["new_ver"].get<std::string>();
|
||||
}
|
||||
if ((*it).contains("sn"))
|
||||
ver_info.sn = (*it)["sn"].get<std::string>();
|
||||
if ((*it).contains("hw_ver"))
|
||||
|
||||
Reference in New Issue
Block a user