mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 07:56:22 -06:00
Assign result of createAbstractMachine
to a variable
With prepended underscore to highlight the result of the function is not being used. CURA-9277
This commit is contained in:
parent
5761b3f27b
commit
12f3581337
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ class CloudOutputDeviceManager:
|
||||||
|
|
||||||
self._setOutputDeviceMetadata(device, new_machine)
|
self._setOutputDeviceMetadata(device, new_machine)
|
||||||
|
|
||||||
CuraStackBuilder.createAbstractMachine(device.printerType)
|
_abstract_machine = CuraStackBuilder.createAbstractMachine(device.printerType)
|
||||||
|
|
||||||
if activate:
|
if activate:
|
||||||
CuraApplication.getInstance().getMachineManager().setActiveMachine(new_machine.getId())
|
CuraApplication.getInstance().getMachineManager().setActiveMachine(new_machine.getId())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue