mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 07:25:56 +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)
|
||||
variant_node = machine_node.variants.get(variant_name)
|
||||
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
|
||||
self.setVariant(position, variant_node)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user