summaryrefslogtreecommitdiffstats
path: root/src/libs/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-08-12 21:08:20 +0000
committerDavid Robillard <d@drobilla.net>2008-08-12 21:08:20 +0000
commitcf7f168e8630baeace81ffad85fb555389902855 (patch)
tree6bca1cae0b8778513a4c487b9f363a592880e572 /src/libs/client
parentf8a3c07358cab7947f7d06c947a3bd81afdd9ce0 (diff)
downloadingen-cf7f168e8630baeace81ffad85fb555389902855.tar.gz
ingen-cf7f168e8630baeace81ffad85fb555389902855.tar.bz2
ingen-cf7f168e8630baeace81ffad85fb555389902855.zip
Fix plugin selection window (adding the same plugin twice in a row works, nicer default numbering).
Cascade multiple plugins added from one run of plugin selection window. git-svn-id: http://svn.drobilla.net/lad/ingen@1343 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client')
-rw-r--r--src/libs/client/PluginModel.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libs/client/PluginModel.cpp b/src/libs/client/PluginModel.cpp
index fa39c0e3..99387dcd 100644
--- a/src/libs/client/PluginModel.cpp
+++ b/src/libs/client/PluginModel.cpp
@@ -39,7 +39,8 @@ Redland::World* PluginModel::_rdf_world = NULL;
string
PluginModel::default_node_name(SharedPtr<PatchModel> parent)
{
- string default_name = Raul::Path::nameify(_symbol);
+ return Raul::Path::nameify(_symbol);
+ /*string default_name = Raul::Path::nameify(_symbol);
string name;
char num_buf[3];
@@ -53,7 +54,7 @@ PluginModel::default_node_name(SharedPtr<PatchModel> parent)
break;
}
- return name;
+ return name;*/
}