mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 09:17:50 -06:00
Use callLater to set the active machine in MachineManager
This prevents exceptions in setActiveMachine from preventing Cura to start.
This commit is contained in:
parent
f302e06654
commit
0aea7bdb5c
1 changed files with 1 additions and 2 deletions
|
@ -38,8 +38,7 @@ class MachineManagerModel(QObject):
|
|||
|
||||
if active_machine_id != "":
|
||||
# An active machine was saved, so restore it.
|
||||
self.setActiveMachine(active_machine_id)
|
||||
pass
|
||||
Application.getInstance().callLater(self.setActiveMachine, active_machine_id)
|
||||
|
||||
globalContainerChanged = pyqtSignal()
|
||||
activeMaterialChanged = pyqtSignal()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue