mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-18 07:05:53 +08:00
Log error on failed machine creation
An error message will be generated when machine creation fails while switching printer types in the printer configuration menu. CURA-6127
This commit is contained in:
parent
6aa8d060d5
commit
da1a5d1be6
@ -1241,6 +1241,7 @@ class MachineManager(QObject):
|
||||
if not new_machine:
|
||||
new_machine = CuraStackBuilder.createMachine(machine_definition_id + "_sync", machine_definition_id)
|
||||
if not new_machine:
|
||||
Logger.log("e", "Failed to create new machine when switching configuration.")
|
||||
return
|
||||
|
||||
for metadata_key in self._global_container_stack.getMetaData():
|
||||
|
Loading…
x
Reference in New Issue
Block a user