FIX:Update the thumbnail of the current plate even if there is no match

jira: STUDIO-10514
Change-Id: Ia25433a275eaf90416f532978fd2738f98c192d8
This commit is contained in:
zhou.xu 2025-02-19 11:57:16 +08:00 committed by lane.wei
parent fb432cdb9d
commit 007e4fdeb2
1 changed files with 1 additions and 0 deletions

View File

@ -1268,6 +1268,7 @@ bool SelectMachineDialog::do_ams_mapping(MachineObject *obj_)
get_ams_mapping_result(ams_array, ams_array2, mapping_info);
if (ams_array.empty()) {
reset_ams_material();
updata_thumbnail_data_after_connected_printer(); // FIX:update cur plate thumbnail
BOOST_LOG_TRIVIAL(info) << "ams_mapping_array=[]";
} else {
sync_ams_mapping_result(m_ams_mapping_result);