mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-19 04:37:51 -06:00
Renamed generic key to um_network_key
CURA-49
This commit is contained in:
parent
07c25edb0f
commit
76dfb5e718
2 changed files with 4 additions and 4 deletions
|
@ -36,9 +36,9 @@ class DiscoverUM3Action(MachineAction):
|
|||
global_container_stack = Application.getInstance().getGlobalContainerStack()
|
||||
if global_container_stack:
|
||||
if "key" in global_container_stack.getMetaData():
|
||||
global_container_stack.setMetaDataEntry("key", key)
|
||||
global_container_stack.setMetaDataEntry("um_network_key", key)
|
||||
else:
|
||||
global_container_stack.addMetaDataEntry("key", key)
|
||||
global_container_stack.addMetaDataEntry("um_network_key", key)
|
||||
|
||||
if self._network_plugin:
|
||||
# Ensure that the connection states are refreshed.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue