mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
Added getPrintInformation to curaApp
This commit is contained in:
parent
dafe0c8b0d
commit
f92b4d72c7
1 changed files with 3 additions and 0 deletions
|
@ -188,6 +188,9 @@ class CuraApplication(QtApplication):
|
|||
|
||||
return super().event(event)
|
||||
|
||||
def getPrintInformation(self):
|
||||
return self._print_information
|
||||
|
||||
def registerObjects(self, engine):
|
||||
engine.rootContext().setContextProperty("Printer", self)
|
||||
self._print_information = PrintInformation.PrintInformation()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue