FIX:update_items_check_state after reset_one_ams_material

jira: none
Change-Id: I1081445da90c6f3267121b864a0e0d868b6b719b
(cherry picked from commit 61a3ffbf4369df2b0a18f7c1f7480c51f24124e8)
This commit is contained in:
zhou.xu
2025-03-07 14:21:04 +08:00
committed by Noisyfox
parent 5e04588837
commit 15c24d903f

View File

@@ -2987,6 +2987,8 @@ void SyncAmsInfoDialog::reset_and_sync_ams_list()
m_mapping_popup.show_reset_button();
auto reset_call_back = [this](const std::string &item_index_str) {
reset_one_ams_material(item_index_str);
m_mapping_popup.update_items_check_state(m_ams_mapping_result);
m_mapping_popup.Refresh();
};
m_mapping_popup.set_reset_callback(reset_call_back);
m_mapping_popup.set_tag_texture(materials[extruder]);