Skip to content

Commit

Permalink
FIX: fix the ota version field name
Browse files Browse the repository at this point in the history
JIRA: STUDIO-5009

Change-Id: I9c28553c8236b57ad02138dcf7b9964dbf23cb25
Signed-off-by: Stone Li <[email protected]>
  • Loading branch information
StoneLiBambulab authored and lanewei120 committed Nov 9, 2023
1 parent 88ed51e commit f029e43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slic3r/GUI/DeviceManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2749,7 +2749,7 @@ int MachineObject::parse_json(std::string payload)
module_vers.emplace(ver_info.name, ver_info);
if (ver_info.name == "ota") {
NetworkAgent* agent = GUI::wxGetApp().getAgent();
if (agent) agent->track_update_property("dev_ota_version", ver_info.sw_ver);
if (agent) agent->track_update_property("dev_ota_ver", ver_info.sw_ver);
}
}

Expand Down

0 comments on commit f029e43

Please sign in to comment.