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:
@@ -880,6 +880,10 @@ void MachineInfoPanel::update_ams_ext(MachineObject *obj)
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (!it->second.sw_new_ver.empty() && (it->second.sw_new_ver != it->second.sw_ver)) {
|
||||
amspanel->m_ams_new_version_img->Show();
|
||||
ams_ver = wxString::Format("%s->%s", it->second.sw_ver, it->second.sw_new_ver);
|
||||
}
|
||||
else {
|
||||
std::string ams_idx = (boost::format("ams/%1%") % ams_id).str();
|
||||
auto ver_item = obj->new_ver_list.find(ams_idx);
|
||||
|
||||
Reference in New Issue
Block a user