Fix comboboxes not updating the accosiated value

Was introduced by this commit: 788ab7da1b

CURA-10374
This commit is contained in:
c.lamboo 2023-03-14 19:24:47 +01:00
parent 035a609277
commit 37f4271c9b

View file

@ -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;