mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 06:33:55 -06:00
Add stubs for MachineManager testing
It also adds a first test that checks if the setActiveMachine
This commit is contained in:
parent
dd59b9167b
commit
b5c270f00a
3 changed files with 47 additions and 0 deletions
|
@ -363,6 +363,7 @@ class MachineManager(QObject):
|
|||
ConfigurationErrorMessage.getInstance().addFaultyContainers(global_stack.getId())
|
||||
return # We're done here
|
||||
ExtruderManager.getInstance().setActiveExtruderIndex(0) # Switch to first extruder
|
||||
|
||||
self._global_container_stack = global_stack
|
||||
self._application.setGlobalContainerStack(global_stack)
|
||||
ExtruderManager.getInstance()._globalContainerStackChanged()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue