mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Qt5->Qt6: GUI-attributes and flips params register singletons.
part of CURA-8591
This commit is contained in:
parent
b62e708b87
commit
6dc6020217
3 changed files with 20 additions and 20 deletions
|
@ -24,5 +24,5 @@ def createSimulationViewProxy(engine, script_engine):
|
|||
|
||||
def register(app):
|
||||
simulation_view = SimulationView.SimulationView()
|
||||
qmlRegisterSingletonType(SimulationViewProxy.SimulationViewProxy, "UM", 1, 0, "SimulationView", simulation_view.getProxy)
|
||||
qmlRegisterSingletonType(SimulationViewProxy.SimulationViewProxy, "UM", 1, 0, simulation_view.getProxy, "SimulationView")
|
||||
return { "view": simulation_view}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue