mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 12:15:53 +08:00
Merge branch '4.13' of github.com:Ultimaker/Cura
This commit is contained in:
commit
03398422dd
@ -1535,7 +1535,7 @@ class MachineManager(QObject):
|
|||||||
machine_node = ContainerTree.getInstance().machines.get(machine_definition_id)
|
machine_node = ContainerTree.getInstance().machines.get(machine_definition_id)
|
||||||
variant_node = machine_node.variants.get(variant_name)
|
variant_node = machine_node.variants.get(variant_name)
|
||||||
if variant_node is None:
|
if variant_node is None:
|
||||||
Logger.error("There is no variant with the name {variant_name}.")
|
Logger.error(f"There is no variant with the name {variant_name}.")
|
||||||
return
|
return
|
||||||
self.setVariant(position, variant_node)
|
self.setVariant(position, variant_node)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user