mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-30 07:44:22 +08:00
Fixes to improve update all extruder setting
CURA-10967
This commit is contained in:
parent
a8f7e8636c
commit
35528202b6
@ -23,6 +23,7 @@ RecommendedSettingSection
|
||||
function onEnableSectionChanged(state)
|
||||
{
|
||||
supportEnabled.setPropertyValue("value", state)
|
||||
support.updateAllExtruders = true
|
||||
}
|
||||
|
||||
property UM.SettingPropertyProvider supportEnabled: UM.SettingPropertyProvider
|
||||
|
@ -89,8 +89,9 @@ Cura.ComboBox {
|
||||
}
|
||||
function forceUpdateSettings()
|
||||
{
|
||||
updateAllExtruders = false
|
||||
comboboxModel.updateModel();
|
||||
propertyProvider.setPropertyValue("value", comboboxModel.get(currentIndex).code , skip_resolve =true)
|
||||
propertyProvider.setPropertyValueForce("value", comboboxModel.get(currentIndex).code)
|
||||
}
|
||||
|
||||
function updateSetting(value)
|
||||
@ -101,7 +102,7 @@ Cura.ComboBox {
|
||||
}
|
||||
else
|
||||
{
|
||||
propertyProvider.setPropertyValue("value", value)
|
||||
propertyProvider.setPropertyValueForce("value", value)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user