From e21fc38551733ca1a194b15f072c30a40bf860d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Candice=20Bent=C3=A9jac?= Date: Thu, 23 Jan 2025 10:01:59 +0100 Subject: [PATCH] [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. --- meshroom/ui/qml/GraphEditor/AttributeItemDelegate.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshroom/ui/qml/GraphEditor/AttributeItemDelegate.qml b/meshroom/ui/qml/GraphEditor/AttributeItemDelegate.qml index 7914dd86c5a..351a74fda82 100644 --- a/meshroom/ui/qml/GraphEditor/AttributeItemDelegate.qml +++ b/meshroom/ui/qml/GraphEditor/AttributeItemDelegate.qml @@ -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)) } }