summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-05-30 16:56:52 +0000
committerDavid Robillard <d@drobilla.net>2009-05-30 16:56:52 +0000
commit009201bb0de59391f0e35bebf3a514a807584ae3 (patch)
tree16b98dd535341597ee88e7156bf452a168ecdf6a /src/gui
parent11bf119232b528e4d4ef6efa754fb70706308861 (diff)
downloadingen-009201bb0de59391f0e35bebf3a514a807584ae3.tar.gz
ingen-009201bb0de59391f0e35bebf3a514a807584ae3.tar.bz2
ingen-009201bb0de59391f0e35bebf3a514a807584ae3.zip
Fix load plugin window.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2051 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/LoadPluginWindow.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/LoadPluginWindow.cpp b/src/gui/LoadPluginWindow.cpp
index 70a0d5e3..89831e3a 100644
--- a/src/gui/LoadPluginWindow.cpp
+++ b/src/gui/LoadPluginWindow.cpp
@@ -331,9 +331,11 @@ LoadPluginWindow::add_clicked()
props.insert(make_pair("rdf:type", Atom(Atom::URI, "ingen:Node")));
props.insert(make_pair("rdf:instanceOf", Atom(Atom::URI, plugin->uri().str())));
props.insert(make_pair("ingen:polyphonic", bool(polyphonic)));
+ App::instance().engine()->put(path, props);
+
_node_name_entry->set_text(generate_module_name(++_plugin_name_offset));
- // Cascade
+ // Cascade next node
Atom& x = _initial_data.find("ingenuity:canvas-x")->second;
x = Atom(x.get_float() + 20.0f);
Atom& y = _initial_data.find("ingenuity:canvas-y")->second;