mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 00:38:41 +02:00
Filter text reset when attribute reset
This commit is contained in:
parent
c439c5a06e
commit
57a02fc50c
2 changed files with 32 additions and 9 deletions
|
@ -346,6 +346,22 @@ RowLayout {
|
|||
|
||||
FilterComboBox {
|
||||
inputModel: attribute.desc.values
|
||||
|
||||
Component.onCompleted: {
|
||||
currentIndex = find(attribute.value)
|
||||
}
|
||||
|
||||
onEditingFinished: function(value) {
|
||||
_reconstruction.setAttribute(attribute, value)
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: attribute
|
||||
onValueChanged: {
|
||||
filterText.clear()
|
||||
currentIndex = find(attribute.value)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue