From 97d25d127249ebe8558c019a968fe43303bea3f6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 2 Oct 2016 21:00:16 -0400 Subject: Fix saving and loading subgraphs --- src/gui/GraphCanvas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') diff --git a/src/gui/GraphCanvas.cpp b/src/gui/GraphCanvas.cpp index 54a7b341..7053b495 100644 --- a/src/gui/GraphCanvas.cpp +++ b/src/gui/GraphCanvas.cpp @@ -789,7 +789,7 @@ GraphCanvas::menu_add_port(const string& sym_base, const string& name_base, const URIs& uris = _app.uris(); - Resource::Properties props = get_initial_data(); + Resource::Properties props = get_initial_data(Resource::Graph::INTERNAL); props.insert(make_pair(uris.rdf_type, _app.forge().make_urid(type))); if (type == uris.atom_AtomPort) { props.insert(make_pair(uris.atom_bufferType, -- cgit v1.2.1