WIP: Add FirstStartMachineActionsModel

This commit is contained in:
Lipu Fei 2019-03-19 12:07:26 +01:00
parent 58062cb4de
commit d4c0104bc2
3 changed files with 62 additions and 1 deletions

View file

@ -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]