Expose machines API to QML

Contributes to CL-1331
This commit is contained in:
Ian Paschal 2019-05-09 16:19:59 +02:00
parent 03fd9da417
commit b3276777b7
4 changed files with 31 additions and 25 deletions

View file

@ -62,7 +62,7 @@ class CuraAPI(QObject):
def backups(self) -> "Backups":
return self._backups
@property
@pyqtProperty(QObject)
def machines(self) -> "Machines":
return self._machines