Added getPrintInformation to curaApp

This commit is contained in:
Jaime van Kessel 2015-08-25 14:16:35 +02:00
parent dafe0c8b0d
commit f92b4d72c7

View file

@ -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()