mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 07:29:00 +08:00
Fix setting extruder material diameter in Machine Settings dialog
CURA-5857 It should update the value of the selected Extruder TAB, not the active extruder on the printer.
This commit is contained in:
parent
dddda996dc
commit
6fd7b49937
@ -410,7 +410,11 @@ Cura.MachineAction
|
|||||||
}
|
}
|
||||||
function setValueFunction(value)
|
function setValueFunction(value)
|
||||||
{
|
{
|
||||||
Cura.MachineManager.activeStack.compatibleMaterialDiameter = value
|
if (settingsTabs.currentIndex > 0)
|
||||||
|
{
|
||||||
|
var extruderIndex = (settingsTabs.currentIndex - 1).toString();
|
||||||
|
Cura.MachineManager.extruders[extruderIndex].compatibleMaterialDiameter = value;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
property bool isExtruderSetting: true
|
property bool isExtruderSetting: true
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user