summaryrefslogtreecommitdiffstats
path: root/src/progs/ingenuity/LoadPluginWindow.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-04-21 07:18:40 +0000
committerDavid Robillard <d@drobilla.net>2007-04-21 07:18:40 +0000
commitbd315305771e98eba1d81672a47ce4fe7bcc95cc (patch)
treed8bdf2a4737fe53bf2c37a4bd6fa262b79b0c348 /src/progs/ingenuity/LoadPluginWindow.cpp
parent7b2eaa5d9a71ce17dc1407f27bbe325c26cfc128 (diff)
downloadingen-bd315305771e98eba1d81672a47ce4fe7bcc95cc.tar.gz
ingen-bd315305771e98eba1d81672a47ce4fe7bcc95cc.tar.bz2
ingen-bd315305771e98eba1d81672a47ce4fe7bcc95cc.zip
Loading plugins via class-based menu heirarchy in patch context menu.
git-svn-id: http://svn.drobilla.net/lad/ingen@468 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/ingenuity/LoadPluginWindow.cpp')
-rw-r--r--src/progs/ingenuity/LoadPluginWindow.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/progs/ingenuity/LoadPluginWindow.cpp b/src/progs/ingenuity/LoadPluginWindow.cpp
index 498f5d6f..2e58c67c 100644
--- a/src/progs/ingenuity/LoadPluginWindow.cpp
+++ b/src/progs/ingenuity/LoadPluginWindow.cpp
@@ -262,7 +262,9 @@ LoadPluginWindow::generate_module_name(int offset)
if (iter) {
Gtk::TreeModel::Row row = *iter;
SharedPtr<PluginModel> plugin = row.get_value(_plugins_columns._col_plugin_model);
- char num_buf[3];
+ return plugin->default_node_name(_patch);
+ }
+ /*char num_buf[3];
for (uint i=0; i < 99; ++i) {
name = plugin->default_node_name();
if (name == "")
@@ -277,7 +279,7 @@ LoadPluginWindow::generate_module_name(int offset)
else
name = "";
}
- }
+ }*/
return name;
}