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