mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 10:06:07 +08:00
Fix extruder index for material diameter box in MachineSettings dialog
CURA-5857
This commit is contained in:
parent
5133b6300a
commit
2223ff14f7
@ -412,7 +412,7 @@ Cura.MachineAction
|
|||||||
{
|
{
|
||||||
if (settingsTabs.currentIndex > 0)
|
if (settingsTabs.currentIndex > 0)
|
||||||
{
|
{
|
||||||
var extruderIndex = (settingsTabs.currentIndex - 1).toString()
|
const extruderIndex = index.toString()
|
||||||
Cura.MachineManager.activeMachine.extruders[extruderIndex].compatibleMaterialDiameter = value
|
Cura.MachineManager.activeMachine.extruders[extruderIndex].compatibleMaterialDiameter = value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user