mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 17:49:01 +08: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
@ -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…
x
Reference in New Issue
Block a user