mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-14 03:25:59 +08:00
Fixed a bug - Dependencies for Printer presets doesn't update after preset selection
This commit is contained in:
parent
b921c8b276
commit
f7dcc88831
@ -3005,6 +3005,7 @@ void TabPrinter::update()
|
|||||||
m_presets->get_edited_preset().printer_technology() == ptFFF ? update_fff() : update_sla();
|
m_presets->get_edited_preset().printer_technology() == ptFFF ? update_fff() : update_sla();
|
||||||
m_update_cnt--;
|
m_update_cnt--;
|
||||||
|
|
||||||
|
update_description_lines();
|
||||||
Layout();
|
Layout();
|
||||||
|
|
||||||
if (m_update_cnt == 0)
|
if (m_update_cnt == 0)
|
||||||
@ -4290,6 +4291,9 @@ void TabSLAMaterial::update()
|
|||||||
if (m_preset_bundle->printers.get_selected_preset().printer_technology() == ptFFF)
|
if (m_preset_bundle->printers.get_selected_preset().printer_technology() == ptFFF)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
update_description_lines();
|
||||||
|
Layout();
|
||||||
|
|
||||||
// #ys_FIXME. Just a template for this function
|
// #ys_FIXME. Just a template for this function
|
||||||
// m_update_cnt++;
|
// m_update_cnt++;
|
||||||
// ! something to update
|
// ! something to update
|
||||||
|
Loading…
x
Reference in New Issue
Block a user