diff options
author | Lipu Fei <lipu.fei815@gmail.com> | 2018-10-29 12:40:23 +0300 |
---|---|---|
committer | Lipu Fei <lipu.fei815@gmail.com> | 2018-10-29 12:40:25 +0300 |
commit | 2223ff14f702dc20c5b7f616ff5dafa3101d02b1 (patch) | |
tree | 6bb69e592607f775d3503e404f605c8d5d144b46 /plugins | |
parent | 5133b6300a920d6e57a553237c373f31e6f9a1bd (diff) |
Fix extruder index for material diameter box in MachineSettings dialog
CURA-5857
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/MachineSettingsAction/MachineSettingsAction.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MachineSettingsAction/MachineSettingsAction.qml b/plugins/MachineSettingsAction/MachineSettingsAction.qml index e16ecf5492..004b4e3cfc 100644 --- a/plugins/MachineSettingsAction/MachineSettingsAction.qml +++ b/plugins/MachineSettingsAction/MachineSettingsAction.qml @@ -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 } } |