Fix extruder index for material diameter box in MachineSettings dialog

CURA-5857
This commit is contained in:
Lipu Fei 2018-10-29 10:40:23 +01:00
parent 5133b6300a
commit 2223ff14f7

View File

@ -412,7 +412,7 @@ Cura.MachineAction
{
if (settingsTabs.currentIndex > 0)
{
var extruderIndex = (settingsTabs.currentIndex - 1).toString()
const extruderIndex = index.toString()
Cura.MachineManager.activeMachine.extruders[extruderIndex].compatibleMaterialDiameter = value
}
}