mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-27 07:43:11 +08: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
@ -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…
x
Reference in New Issue
Block a user