mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 06:45:57 +08:00
Fixed mistake with updating linked key
This commit is contained in:
parent
e53ff78704
commit
4c7d235a0d
@ -38,7 +38,7 @@ class DiscoverUM3Action(MachineAction):
|
||||
def setKey(self, key):
|
||||
global_container_stack = Application.getInstance().getGlobalContainerStack()
|
||||
if global_container_stack:
|
||||
if "key" in global_container_stack.getMetaData():
|
||||
if "um_network_key" in global_container_stack.getMetaData():
|
||||
global_container_stack.setMetaDataEntry("um_network_key", key)
|
||||
else:
|
||||
global_container_stack.addMetaDataEntry("um_network_key", key)
|
||||
|
Loading…
x
Reference in New Issue
Block a user