mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-22 19:50:44 +00:00
FIX: fix display error in virtual tray
refine description for ams not connected Change-Id: Ic4c01e69cfd9385548a497af5c5c3071614067a2 Signed-off-by: Stone Li <stone.li@bambulab.com> (cherry picked from commit 4158f1e06ed20fa5dd4c3ef412d4c8fab76054a8)
This commit is contained in:
@@ -1901,6 +1901,10 @@ void StatusPanel::update_ams(MachineObject *obj)
|
||||
last_ams_version = -1;
|
||||
BOOST_LOG_TRIVIAL(trace) << "machine object" << obj->dev_name << " was disconnected, set show_ams_group is false";
|
||||
}
|
||||
bool is_support_extrusion_cali = obj->is_function_supported(PrinterFunction::FUNC_EXTRUSION_CALI);
|
||||
if (is_support_extrusion_cali) {
|
||||
m_ams_control->update_vams_kn_value(obj->vt_tray);
|
||||
}
|
||||
show_ams_group(false, obj->is_function_supported(PrinterFunction::FUNC_EXTRUSION_CALI));
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user