mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 17:18:58 +08:00
CURA-10967
set property value updated to take into account if resolve is present or not.
This commit is contained in:
parent
5552b5ced3
commit
a8f7e8636c
@ -43,6 +43,7 @@ RecommendedSettingSection
|
||||
|
||||
settingControl: Cura.SingleSettingComboBox
|
||||
{
|
||||
id:support
|
||||
width: parent.width
|
||||
settingName: "support_structure"
|
||||
}
|
||||
@ -60,6 +61,7 @@ RecommendedSettingSection
|
||||
settingControl: Cura.SingleSettingExtruderSelectorBar
|
||||
{
|
||||
extruderSettingName: "support_extruder_nr"
|
||||
onSelectedIndexChanged: support.forceUpdateSettings()
|
||||
}
|
||||
},
|
||||
RecommendedSettingItem
|
||||
|
@ -87,6 +87,11 @@ Cura.ComboBox {
|
||||
}
|
||||
|
||||
}
|
||||
function forceUpdateSettings()
|
||||
{
|
||||
comboboxModel.updateModel();
|
||||
propertyProvider.setPropertyValue("value", comboboxModel.get(currentIndex).code , skip_resolve =true)
|
||||
}
|
||||
|
||||
function updateSetting(value)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user