mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 10:17:52 -06:00
Use "/<version>/<machineName>" as the material info URL suffix
CURA-3810
This commit is contained in:
parent
9b67fa94b4
commit
85e875257b
3 changed files with 14 additions and 1 deletions
|
@ -474,6 +474,12 @@ class MachineManager(QObject):
|
|||
def activeMachine(self) -> "GlobalStack":
|
||||
return self._global_container_stack
|
||||
|
||||
@pyqtProperty(str, notify = globalContainerChanged)
|
||||
def activeMachineDefinitionId(self) -> str:
|
||||
if self._global_container_stack and self._global_container_stack.definition:
|
||||
return self._global_container_stack.definition.getId()
|
||||
return ""
|
||||
|
||||
@pyqtProperty(str, notify = activeStackChanged)
|
||||
def activeStackId(self) -> str:
|
||||
if self._active_container_stack:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue