diff --git a/resources/qml/PrintSetupSelector/Recommended/RecommendedSupportSelector.qml b/resources/qml/PrintSetupSelector/Recommended/RecommendedSupportSelector.qml index 44b3d28e24..16f1e7cccd 100644 --- a/resources/qml/PrintSetupSelector/Recommended/RecommendedSupportSelector.qml +++ b/resources/qml/PrintSetupSelector/Recommended/RecommendedSupportSelector.qml @@ -43,8 +43,10 @@ RecommendedSettingSection settingControl: Cura.SingleSettingComboBox { + id:support width: parent.width settingName: "support_structure" + propertyRemoveUnusedValue: false } }, RecommendedSettingItem @@ -60,6 +62,7 @@ RecommendedSettingSection settingControl: Cura.SingleSettingExtruderSelectorBar { extruderSettingName: "support_extruder_nr" + onSelectedIndexChanged: support.forceUpdateSettings() } }, RecommendedSettingItem diff --git a/resources/qml/Widgets/SingleSettingComboBox.qml b/resources/qml/Widgets/SingleSettingComboBox.qml index 1b7101e9e7..fa150894f8 100644 --- a/resources/qml/Widgets/SingleSettingComboBox.qml +++ b/resources/qml/Widgets/SingleSettingComboBox.qml @@ -15,6 +15,7 @@ import Cura 1.7 as Cura Cura.ComboBox { textRole: "text" property alias settingName: propertyProvider.key + property alias propertyRemoveUnusedValue: propertyProvider.removeUnusedValue // If true, all extruders will have "settingName" property updated. // The displayed value will be read from the extruder with index "defaultExtruderIndex" instead of the machine. @@ -87,6 +88,10 @@ Cura.ComboBox { } } + function forceUpdateSettings() + { + comboboxModel.updateModel(); + } function updateSetting(value) {