diff options
author | David Robillard <d@drobilla.net> | 2009-12-30 15:33:18 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-12-30 15:33:18 +0000 |
commit | a9660d4886917322accd35f5da3f0296a5cceddf (patch) | |
tree | a13ad5a522c0cc5664637a5e79435db56db9a246 /src | |
parent | 82245ba65d5b13a9cf40921affb70872147cf00c (diff) | |
download | ingen-a9660d4886917322accd35f5da3f0296a5cceddf.tar.gz ingen-a9660d4886917322accd35f5da3f0296a5cceddf.tar.bz2 ingen-a9660d4886917322accd35f5da3f0296a5cceddf.zip |
Fix creation of subpatches.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2321 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/NewSubpatchWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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))); |