mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 00:36:25 +08:00
ConfigWizard : Fixed a crash, when some of material pages doesn't exist
This commit is contained in:
parent
e922fdceb4
commit
141ae5a916
@ -2785,8 +2785,10 @@ bool ConfigWizard::priv::on_bnt_finish()
|
||||
* than last changes wouldn't be updated for filaments/materials.
|
||||
* SO, do that before check_and_install_missing_materials()
|
||||
*/
|
||||
page_filaments->check_and_update_presets();
|
||||
page_sla_materials->check_and_update_presets();
|
||||
if (page_filaments)
|
||||
page_filaments->check_and_update_presets();
|
||||
if (page_sla_materials)
|
||||
page_sla_materials->check_and_update_presets();
|
||||
|
||||
// there's no need to check that filament is selected if we have only custom printer
|
||||
if (custom_printer_selected && !any_fff_selected && !any_sla_selected) return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user