CURA-5048 fixed nozzle dependent settings to update after setting machine nozzle diameter in a crude way

This commit is contained in:
Jack Ha 2018-03-13 17:29:20 +01:00
parent 76f853c5fb
commit 406e546195
2 changed files with 10 additions and 3 deletions

View file

@ -382,6 +382,11 @@ Cura.MachineAction
property string settingKey: "machine_nozzle_size"
property string label: catalog.i18nc("@label", "Nozzle size")
property string unit: catalog.i18nc("@label", "mm")
function afterOnEditingFinished()
{
// Somehow the machine_nozzle_size dependent settings are not updated otherwise
Cura.MachineManager.forceUpdateAllSettings()
}
property bool isExtruderSetting: true
}
@ -889,4 +894,4 @@ Cura.MachineAction
watchedProperties: [ "value" ]
storeIndex: manager.containerIndex
}
}
}