From a9660d4886917322accd35f5da3f0296a5cceddf Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 30 Dec 2009 15:33:18 +0000 Subject: Fix creation of subpatches. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2321 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/NewSubpatchWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gui/NewSubpatchWindow.cpp b/src/gui/NewSubpatchWindow.cpp index ac137857..960eeacb 100644 --- a/src/gui/NewSubpatchWindow.cpp +++ b/src/gui/NewSubpatchWindow.cpp @@ -97,7 +97,7 @@ NewSubpatchWindow::ok_clicked() Resource::Properties props; props.insert(make_pair("rdf:type", Atom(Atom::URI, "ingen:Patch"))); props.insert(make_pair("ingen:polyphony", Atom(int32_t(poly)))); - App::instance().engine()->put(ResourceImpl::meta_uri(Path::root_uri, path), props); + App::instance().engine()->put(ResourceImpl::meta_uri(path), props); props = _initial_data; props.insert(make_pair("ingen:enabled", bool(true))); -- cgit v1.2.1