Fixed a bug - Dependencies for Printer presets doesn't update after preset selection

This commit is contained in:
YuSanka 2021-07-15 11:37:59 +02:00
parent b921c8b276
commit f7dcc88831

View File

@ -3005,6 +3005,7 @@ void TabPrinter::update()
m_presets->get_edited_preset().printer_technology() == ptFFF ? update_fff() : update_sla();
m_update_cnt--;
update_description_lines();
Layout();
if (m_update_cnt == 0)
@ -4290,6 +4291,9 @@ void TabSLAMaterial::update()
if (m_preset_bundle->printers.get_selected_preset().printer_technology() == ptFFF)
return;
update_description_lines();
Layout();
// #ys_FIXME. Just a template for this function
// m_update_cnt++;
// ! something to update