mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 15:44:04 -06: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
2 changed files with 7 additions and 0 deletions
|
@ -43,6 +43,7 @@ RecommendedSettingSection
|
||||||
|
|
||||||
settingControl: Cura.SingleSettingComboBox
|
settingControl: Cura.SingleSettingComboBox
|
||||||
{
|
{
|
||||||
|
id:support
|
||||||
width: parent.width
|
width: parent.width
|
||||||
settingName: "support_structure"
|
settingName: "support_structure"
|
||||||
}
|
}
|
||||||
|
@ -60,6 +61,7 @@ RecommendedSettingSection
|
||||||
settingControl: Cura.SingleSettingExtruderSelectorBar
|
settingControl: Cura.SingleSettingExtruderSelectorBar
|
||||||
{
|
{
|
||||||
extruderSettingName: "support_extruder_nr"
|
extruderSettingName: "support_extruder_nr"
|
||||||
|
onSelectedIndexChanged: support.forceUpdateSettings()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
RecommendedSettingItem
|
RecommendedSettingItem
|
||||||
|
|
|
@ -87,6 +87,11 @@ Cura.ComboBox {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
function forceUpdateSettings()
|
||||||
|
{
|
||||||
|
comboboxModel.updateModel();
|
||||||
|
propertyProvider.setPropertyValue("value", comboboxModel.get(currentIndex).code , skip_resolve =true)
|
||||||
|
}
|
||||||
|
|
||||||
function updateSetting(value)
|
function updateSetting(value)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue