From 37f4271c9bfba35aa0da684157cb4f195a3f4b67 Mon Sep 17 00:00:00 2001 From: "c.lamboo" Date: Tue, 14 Mar 2023 19:24:47 +0100 Subject: [PATCH] Fix comboboxes not updating the accosiated value Was introduced by this commit: https://github.com/Ultimaker/Cura/commit/788ab7da1b61d5d002ba35914f57b5cc971d2fc9 CURA-10374 --- resources/qml/MachineSettings/ComboBoxWithOptions.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/qml/MachineSettings/ComboBoxWithOptions.qml b/resources/qml/MachineSettings/ComboBoxWithOptions.qml index 058ac6853f..a25e165d2d 100644 --- a/resources/qml/MachineSettings/ComboBoxWithOptions.qml +++ b/resources/qml/MachineSettings/ComboBoxWithOptions.qml @@ -85,7 +85,7 @@ UM.TooltipArea if (propertyProvider.properties.value === key) { currentIndex = index; } - defaultOptionsModel.append({ text: value, code: key }); + defaultOptionsModel.append({ text: value, value: key }); } comboBox.currentIndex = currentIndex;