Merge pull request #13486 from Ultimaker/CURA-9714_crash_double_loading_file

[CURA-9714] Crash double 3mf that contains printer with no extruders
This commit is contained in:
Casper Lamboo 2022-10-07 10:13:58 +02:00 committed by GitHub
commit 60e3e50253
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -904,6 +904,7 @@ class MachineManager(QObject):
if self._global_container_stack is None \
or self._global_container_stack.getProperty(setting_key, "value") == new_value \
or self._global_container_stack.definitionChanges.getProperty("extruders_enabled_count", "value") is None \
or self._global_container_stack.definitionChanges.getProperty("extruders_enabled_count", "value") < 2:
return