diff --git a/meshroom/ui/qml/GraphEditor/GraphEditor.qml b/meshroom/ui/qml/GraphEditor/GraphEditor.qml index 034331c1ad..c2c1c34b1f 100755 --- a/meshroom/ui/qml/GraphEditor/GraphEditor.qml +++ b/meshroom/ui/qml/GraphEditor/GraphEditor.qml @@ -114,6 +114,10 @@ Item { uigraph.removeNodes(uigraph.selectedNodes) if (event.key === Qt.Key_D) duplicateNode(event.modifiers == Qt.AltModifier) + if (event.key === Qt.Key_C && event.modifiers == Qt.ControlModifier) + copyNodes() + if (event.key === Qt.Key_V && event.modifiers == Qt.ControlModifier) + pasteNodes() } MouseArea { diff --git a/meshroom/ui/qml/main.qml b/meshroom/ui/qml/main.qml index 4dbfe6f5f8..42696ad62a 100755 --- a/meshroom/ui/qml/main.qml +++ b/meshroom/ui/qml/main.qml @@ -430,7 +430,6 @@ ApplicationWindow { return s } text: "Copy Node" + (_reconstruction.selectedNodes.count > 1 ? "s " : " ") - shortcut: "Ctrl+C" enabled: _reconstruction.selectedNodes.count > 0 onTriggered: graphEditor.copyNodes() @@ -453,7 +452,6 @@ ApplicationWindow { property string tooltip: "Paste the clipboard content to the scene if it contains valid nodes" text: "Paste Node(s)" - shortcut: "Ctrl+V" onTriggered: graphEditor.pasteNodes() }