mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
WIP: Add FirstStartMachineActionsModel
This commit is contained in:
parent
58062cb4de
commit
d4c0104bc2
3 changed files with 62 additions and 1 deletions
|
@ -136,7 +136,7 @@ class MachineActionManager(QObject):
|
|||
# action multiple times).
|
||||
# \param definition_id The ID of the definition that you want to get the "on added" actions for.
|
||||
# \returns List of actions.
|
||||
@pyqtSlot(str, result="QVariantList")
|
||||
@pyqtSlot(str, result = "QVariantList")
|
||||
def getFirstStartActions(self, definition_id: str) -> List["MachineAction"]:
|
||||
if definition_id in self._first_start_actions:
|
||||
return self._first_start_actions[definition_id]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue