mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 04:59:00 +08:00
Show correct printer name in selector-header on disconnect. [CURA-6153]
This commit is contained in:
parent
b680e92da6
commit
6cd3a5fe3d
@ -512,7 +512,7 @@ class MachineManager(QObject):
|
||||
@pyqtProperty(str, notify = globalContainerChanged)
|
||||
def activeMachineName(self) -> str:
|
||||
if self._global_container_stack:
|
||||
return self._global_container_stack.getName()
|
||||
return self._global_container_stack.getMetaDataEntry("connect_group_name", self._global_container_stack.getName())
|
||||
return ""
|
||||
|
||||
@pyqtProperty(str, notify = globalContainerChanged)
|
||||
|
Loading…
x
Reference in New Issue
Block a user