Load view plugins in PrinterApplication and set a default view

This commit is contained in:
Arjen Hiemstra 2014-11-13 13:30:42 +01:00
parent 6167788382
commit 15cec2dbe2

View file

@ -7,7 +7,10 @@ class PrinterApplication(WxApplication):
def run(self):
self._plugin_registry.loadPlugins({ "type": "StorageDevice" })
self._plugin_registry.loadPlugins({ "type": "View" })
window = MainWindow("Cura Printer")
self.getController().setActiveView("MeshView")
window = MainWindow("Cura Printer", self)
window.Show()
super(PrinterApplication, self).run()