FIX: update the mapping item

jira: [STUDIO-9942]
Change-Id: I5b46fb530f08d0de4c8cf5a23707ec539d82356d
(cherry picked from commit 8b237bf959d2718c0397530af599c3a24a650d74)
This commit is contained in:
xin.zhang 2025-03-06 11:17:57 +08:00 committed by Noisyfox
parent 1f89df4993
commit 7b4b655ba1
7 changed files with 159 additions and 45 deletions

View file

@ -3890,7 +3890,7 @@ void SelectMachineDialog::reset_and_sync_ams_list()
m_mapping_popup.set_current_filament_id(extruder);
m_mapping_popup.set_tag_texture(materials[extruder]);
m_mapping_popup.set_send_win(this);//fix bug:fisrt click is not valid
m_mapping_popup.update(obj_);
m_mapping_popup.update(obj_, m_ams_mapping_result);
m_mapping_popup.Popup();
}
}
@ -4393,7 +4393,7 @@ void SelectMachineDialog::set_default_from_sdcard()
m_mapping_popup.set_current_filament_id(fo.id);
m_mapping_popup.set_tag_texture(fo.type);
m_mapping_popup.set_send_win(this);
m_mapping_popup.update(obj_);
m_mapping_popup.update(obj_, m_ams_mapping_result);
m_mapping_popup.Popup();
}
}