[GraphEditor] Use attribute's evaluated value for "Open File"

Otherwise, input attributes with variables (either environment ones
or local ones) cannot be opened through "Open File", even though "Open
Containing Folder" works fine.
This commit is contained in:
Candice Bentéjac 2025-01-23 10:01:59 +01:00
parent 6b9e76d95a
commit 2c06ea4870

View file

@ -153,7 +153,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))
}
}