mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 10:17:27 +02:00
[ui] AttributeItemDelegate: make connected GroupAttribute readOnly
This commit is contained in:
parent
5edacee193
commit
c4b85fd455
1 changed files with 1 additions and 1 deletions
|
@ -668,7 +668,7 @@ RowLayout {
|
||||||
var obj = cpt.createObject(groupItem,
|
var obj = cpt.createObject(groupItem,
|
||||||
{
|
{
|
||||||
'model': Qt.binding(function() { return attribute.value }),
|
'model': Qt.binding(function() { return attribute.value }),
|
||||||
'readOnly': Qt.binding(function() { return root.readOnly }),
|
'readOnly': Qt.binding(function() { return !root.editable }),
|
||||||
'labelWidth': 100, // Reduce label width for children (space gain)
|
'labelWidth': 100, // Reduce label width for children (space gain)
|
||||||
'objectsHideable': Qt.binding(function() { return root.objectsHideable }),
|
'objectsHideable': Qt.binding(function() { return root.objectsHideable }),
|
||||||
'filterText': Qt.binding(function() { return root.filterText }),
|
'filterText': Qt.binding(function() { return root.filterText }),
|
||||||
|
|
Loading…
Add table
Reference in a new issue