mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
CuraApplication now also registers object defined by QTApplication
CURA-3633
This commit is contained in:
parent
02d4bd75fe
commit
ffa0e3e5e2
1 changed files with 1 additions and 0 deletions
|
@ -667,6 +667,7 @@ class CuraApplication(QtApplication):
|
||||||
#
|
#
|
||||||
# \param engine The QML engine.
|
# \param engine The QML engine.
|
||||||
def registerObjects(self, engine):
|
def registerObjects(self, engine):
|
||||||
|
super().registerObjects(engine)
|
||||||
engine.rootContext().setContextProperty("Printer", self)
|
engine.rootContext().setContextProperty("Printer", self)
|
||||||
engine.rootContext().setContextProperty("CuraApplication", self)
|
engine.rootContext().setContextProperty("CuraApplication", self)
|
||||||
self._print_information = PrintInformation.PrintInformation()
|
self._print_information = PrintInformation.PrintInformation()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue