mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 06:33:55 -06:00
Delay showing the Add Machine dialog until after the main window is properly shown
Showing the main window causes the Add Machine window to hide apparently so instead make sure we show the add machine dialog after showing the main window. This also handles the "there is no machine" situation a little more cleanly.
This commit is contained in:
parent
ca7ed0d93e
commit
c486794f33
2 changed files with 18 additions and 7 deletions
|
@ -173,11 +173,6 @@ class CuraApplication(QtApplication):
|
|||
self.setMainQml(Resources.getPath(self.ResourceTypes.QmlFiles, "Cura.qml"))
|
||||
self.initializeEngine()
|
||||
|
||||
manager = self.getMachineManager()
|
||||
if not self.getMachineManager().getMachineInstances():
|
||||
self.requestAddPrinter.emit()
|
||||
|
||||
|
||||
if self._engine.rootObjects:
|
||||
self.closeSplash()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue