Skip to content

Commit

Permalink
[GraphEditor] Use attribute's evaluated value for "Open File"
Browse files Browse the repository at this point in the history
Otherwise, input attributes with variables (either environment ones
or local ones) cannot be opened through "Open File", even though "Open
Containing Folder" works fine.
  • Loading branch information
cbentejac committed Jan 23, 2025
1 parent 3c6f2a5 commit e21fc38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meshroom/ui/qml/GraphEditor/AttributeItemDelegate.qml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ RowLayout {
visible: paramMenu.isFilepath
height: visible ? implicitHeight : 0
text: "Open File"
onClicked: Qt.openUrlExternally(Filepath.stringToUrl(attribute.value))
onClicked: Qt.openUrlExternally(Filepath.stringToUrl(attribute.evalValue))
}
}

Expand Down

0 comments on commit e21fc38

Please sign in to comment.