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

jira: STUDIO-10514
Change-Id: Ia25433a275eaf90416f532978fd2738f98c192d8
(cherry picked from commit 007e4fdeb229e1b0db7386baa70f3b8de092b42a)
This commit is contained in:
zhou.xu 2025-02-19 11:57:16 +08:00 committed by Noisyfox
parent 956a312967
commit cff84682d8

View file

@ -1266,6 +1266,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);