mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 18:49:01 +08:00
Added getPrintInformation to curaApp
This commit is contained in:
parent
dafe0c8b0d
commit
f92b4d72c7
@ -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…
x
Reference in New Issue
Block a user