mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
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:
@@ -2987,6 +2987,8 @@ void SyncAmsInfoDialog::reset_and_sync_ams_list()
|
|||||||
m_mapping_popup.show_reset_button();
|
m_mapping_popup.show_reset_button();
|
||||||
auto reset_call_back = [this](const std::string &item_index_str) {
|
auto reset_call_back = [this](const std::string &item_index_str) {
|
||||||
reset_one_ams_material(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_reset_callback(reset_call_back);
|
||||||
m_mapping_popup.set_tag_texture(materials[extruder]);
|
m_mapping_popup.set_tag_texture(materials[extruder]);
|
||||||
|
|||||||
Reference in New Issue
Block a user