mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 18:57:52 -06:00
Process Review feedback for CURA-7438
Renames UltimakerCloudAuthentication to UltimakerCloudConstants Cura-7438
This commit is contained in:
parent
167a4c1f58
commit
1024879f9d
9 changed files with 31 additions and 25 deletions
|
@ -38,6 +38,7 @@ from cura.Settings.ExtruderStack import ExtruderStack
|
|||
from cura.Settings.cura_empty_instance_containers import (empty_definition_changes_container, empty_variant_container,
|
||||
empty_material_container, empty_quality_container,
|
||||
empty_quality_changes_container, empty_intent_container)
|
||||
from cura.UltimakerCloud.UltimakerCloudConstants import META_UM_LINKED_TO_ACCOUNT
|
||||
|
||||
from .CuraStackBuilder import CuraStackBuilder
|
||||
|
||||
|
@ -493,7 +494,7 @@ class MachineManager(QObject):
|
|||
|
||||
@pyqtProperty(bool, notify = printerConnectedStatusChanged)
|
||||
def activeMachineIsLinkedToCurrentAccount(self) -> bool:
|
||||
return parseBool(self.activeMachine.getMetaDataEntry("linked_to_account", "True"))
|
||||
return parseBool(self.activeMachine.getMetaDataEntry(META_UM_LINKED_TO_ACCOUNT, "True"))
|
||||
|
||||
@pyqtProperty(bool, notify = printerConnectedStatusChanged)
|
||||
def activeMachineHasNetworkConnection(self) -> bool:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue