summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-10-02 21:00:16 -0400
committerDavid Robillard <d@drobilla.net>2016-10-02 23:01:13 -0400
commit97d25d127249ebe8558c019a968fe43303bea3f6 (patch)
treedab8f68ee3b8091778c912408a13b001f7525ff4 /src/gui
parenta6c193970cd7944a4ff364ae9b3abf02a9e3034f (diff)
downloadingen-97d25d127249ebe8558c019a968fe43303bea3f6.tar.gz
ingen-97d25d127249ebe8558c019a968fe43303bea3f6.tar.bz2
ingen-97d25d127249ebe8558c019a968fe43303bea3f6.zip
Fix saving and loading subgraphs
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/GraphCanvas.cpp2
1 files changed, 1 insertions, 1 deletions
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,