mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 18:27:23 +02:00
Merge pull request #2482 from alicevision/fix/pushButton
[GraphEditor] AttributeItemDelegate: Return valid component for `PushButton`
This commit is contained in:
commit
92a8c106ce
1 changed files with 2 additions and 2 deletions
|
@ -193,8 +193,8 @@ RowLayout {
|
|||
Layout.fillWidth: true
|
||||
|
||||
sourceComponent: {
|
||||
if (attribute.value === undefined)
|
||||
{
|
||||
// PushButtonParam always has value == undefined, so it needs to be excluded from this check
|
||||
if (attribute.type != "PushButtonParam" && attribute.value === undefined) {
|
||||
return notComputed_component
|
||||
}
|
||||
switch (attribute.type) {
|
||||
|
|
Loading…
Add table
Reference in a new issue