diff options
author | David Robillard <d@drobilla.net> | 2012-07-26 15:51:08 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-07-26 15:51:08 +0000 |
commit | ea34189f0e7b9c0bcdea06c305443f7150373e8b (patch) | |
tree | c1db6b7685fb9d6bffb4c7315d3f96364372b756 /src/gui | |
parent | 4ad0afc4283ba54a8c63fbf5d05e203c06ea7747 (diff) | |
download | ingen-ea34189f0e7b9c0bcdea06c305443f7150373e8b.tar.gz ingen-ea34189f0e7b9c0bcdea06c305443f7150373e8b.tar.bz2 ingen-ea34189f0e7b9c0bcdea06c305443f7150373e8b.zip |
Fix creation of polyphonic nodes from plugin dialog.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4558 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/LoadPluginWindow.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gui/LoadPluginWindow.cpp b/src/gui/LoadPluginWindow.cpp index 832f79f4..18d1a63c 100644 --- a/src/gui/LoadPluginWindow.cpp +++ b/src/gui/LoadPluginWindow.cpp @@ -332,7 +332,7 @@ LoadPluginWindow::load_plugin(const Gtk::TreeModel::iterator& iter) const URIs& uris = _app->uris(); Gtk::TreeModel::Row row = *iter; SharedPtr<const PluginModel> plugin = row.get_value(_plugins_columns._col_plugin); - //bool polyphonic = _polyphonic_checkbutton->get_active(); + bool polyphonic = _polyphonic_checkbutton->get_active(); string name = _node_name_entry->get_text(); if (name.empty()) @@ -351,9 +351,8 @@ LoadPluginWindow::load_plugin(const Gtk::TreeModel::iterator& iter) uris.ingen_Node)); props.insert(make_pair(uris.ingen_prototype, _app->forge().alloc_uri(plugin->uri().str()))); - Raul::warn << "FIXME: polyphonic" << std::endl; - //props.insert(make_pair(uris.ingen_polyphonic, - // _app->forge().make(polyphonic))); + props.insert(make_pair(uris.ingen_polyphonic, + _app->forge().make(polyphonic))); _app->interface()->put(path, props); if (_selection->get_selected_rows().size() == 1) { |