diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/GraphCanvas.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/GraphCanvas.cpp b/src/gui/GraphCanvas.cpp index fa5ed149..73253ae0 100644 --- a/src/gui/GraphCanvas.cpp +++ b/src/gui/GraphCanvas.cpp @@ -730,9 +730,10 @@ GraphCanvas::paste() } const SPtr<Node> node = c.second; - const Raul::Path& old_path = copy_root.child(node->path()); + const Raul::Path& old_path = copy_root.child(uri_to_path(node->uri())); const Raul::URI& old_uri = path_to_uri(old_path); - const Raul::Path& new_path = avoider.map_path(parent.child(node->path())); + const Raul::Path& new_path = avoider.map_path( + parent.child(uri_to_path(node->uri()))); Properties props{{uris.lv2_prototype, _app.forge().make_urid(old_uri)}}; |