mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
Fix printer missing from the list after connection; now always adds the field 'hidden' in the metadata, don't know why it worked before. CURA-5574
This commit is contained in:
parent
e3a193d6a6
commit
4167f81e3b
1 changed files with 2 additions and 1 deletions
|
@ -109,7 +109,8 @@ class DiscoverUM3Action(MachineAction):
|
||||||
CuraApplication.getInstance().getMachineManager().replaceContainersMetadata(key = "connect_group_name", value = previous_connect_group_name, new_value = group_name)
|
CuraApplication.getInstance().getMachineManager().replaceContainersMetadata(key = "connect_group_name", value = previous_connect_group_name, new_value = group_name)
|
||||||
else:
|
else:
|
||||||
global_container_stack.setMetaDataEntry("connect_group_name", group_name)
|
global_container_stack.setMetaDataEntry("connect_group_name", group_name)
|
||||||
global_container_stack.setMetaDataEntry("hidden", False)
|
# Set the default value for "hidden", which is used when you have a group with multiple types of printers
|
||||||
|
global_container_stack.setMetaDataEntry("hidden", False)
|
||||||
|
|
||||||
if self._network_plugin:
|
if self._network_plugin:
|
||||||
# Ensure that the connection states are refreshed.
|
# Ensure that the connection states are refreshed.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue