mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 16:58:24 +02:00
[ui] add readOnly property on AttributeEditor
* setting readOnly to 'true' disable editing on AttributeItemDelegate components * use this property instead of disabling the whole AttributeEditor when graph is being computed
This commit is contained in:
parent
0e08291f8a
commit
826c6caa07
3 changed files with 27 additions and 9 deletions
|
@ -293,8 +293,8 @@ ApplicationWindow {
|
|||
sourceComponent: Component {
|
||||
AttributeEditor {
|
||||
node: graphEditor.selectedNode
|
||||
// Disable editor when computing
|
||||
enabled: !_reconstruction.computing
|
||||
// Make AttributeEditor readOnly when computing
|
||||
readOnly: _reconstruction.computing
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue