mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 04:59:05 +08:00
cleanup
This commit is contained in:
parent
af2061cd52
commit
bbddbcde9a
@ -528,10 +528,6 @@ class MachineManager(QObject):
|
||||
@pyqtProperty(bool, notify = printerConnectedStatusChanged)
|
||||
def activeMachineHasRemoteConnection(self) -> bool:
|
||||
return self.activeMachineHasActiveNetworkConnection or self.activeMachineHasActiveCloudConnection
|
||||
# if self._global_container_stack:
|
||||
# connection_type = self._global_container_stack.getMetaDataEntry("connection_type")
|
||||
# return connection_type in [ConnectionType.NetworkConnection.value, ConnectionType.CloudConnection.value]
|
||||
# return False
|
||||
|
||||
@pyqtProperty(bool, notify = printerConnectedStatusChanged)
|
||||
def activeMachineIsGroup(self) -> bool:
|
||||
|
Loading…
x
Reference in New Issue
Block a user