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:
Jack Ha 2018-07-16 13:32:35 +02:00
parent e3a193d6a6
commit 4167f81e3b

View file

@ -109,6 +109,7 @@ class DiscoverUM3Action(MachineAction):
CuraApplication.getInstance().getMachineManager().replaceContainersMetadata(key = "connect_group_name", value = previous_connect_group_name, new_value = group_name)
else:
global_container_stack.setMetaDataEntry("connect_group_name", group_name)
# 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: