We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f3f2e6 commit 27aceb3Copy full SHA for 27aceb3
meshroom/ui/qml/GraphEditor/AttributeItemDelegate.qml
@@ -348,7 +348,14 @@ RowLayout {
348
inputModel: attribute.values
349
350
Component.onCompleted: {
351
- currentIndex = find(attribute.value)
+ // if value not in list, override the text and precise it is not valid
352
+ var idx = find(attribute.value)
353
+ if (idx === -1) {
354
+ displayText = attribute.value
355
+ validValue = false
356
+ } else {
357
+ currentIndex = idx
358
+ }
359
}
360
361
onEditingFinished: function(value) {
0 commit comments