summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-10-01 17:48:10 -0400
committerDavid Robillard <d@drobilla.net>2016-10-02 12:24:57 -0400
commit7c8ba22dc59f2b44710c029254ece759ad15368f (patch)
treeee785a0e85ac9329005e85fdc17a7d3df5b1963d
parente2f63c5d8e296a35c06d4a3fd522aa5224a6ad3d (diff)
downloadingen-7c8ba22dc59f2b44710c029254ece759ad15368f.tar.gz
ingen-7c8ba22dc59f2b44710c029254ece759ad15368f.tar.bz2
ingen-7c8ba22dc59f2b44710c029254ece759ad15368f.zip
Fix loading a graph by copying from the filesystem
-rw-r--r--src/server/events/Copy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/events/Copy.cpp b/src/server/events/Copy.cpp
index 03519610..30ffb43d 100644
--- a/src/server/events/Copy.cpp
+++ b/src/server/events/Copy.cpp
@@ -79,7 +79,7 @@ Copy::pre_process(PreProcessContext& ctx)
}
} else if (_old_uri.scheme() == "file") {
if (Node::uri_is_path(_new_uri)) {
- filesystem_to_engine(ctx);
+ return filesystem_to_engine(ctx);
} else {
// Ingen is not your file manager
return Event::pre_process_done(Status::BAD_REQUEST);