mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 20:29:05 +08:00
Remove unused variable _active_extruder_index
This index is managed by ExtruderManager. Contributes to issues CURA-340 and CURA-1278.
This commit is contained in:
parent
f461ed0f5f
commit
98a0f90dae
@ -36,8 +36,6 @@ class MachineManagerModel(QObject):
|
|||||||
|
|
||||||
active_machine_id = Preferences.getInstance().getValue("cura/active_machine")
|
active_machine_id = Preferences.getInstance().getValue("cura/active_machine")
|
||||||
|
|
||||||
self._active_extruder_index = 0
|
|
||||||
|
|
||||||
if active_machine_id != "":
|
if active_machine_id != "":
|
||||||
# An active machine was saved, so restore it.
|
# An active machine was saved, so restore it.
|
||||||
self.setActiveMachine(active_machine_id)
|
self.setActiveMachine(active_machine_id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user