diff options
Diffstat (limited to 'gtk2_ardour/plugin_pin_dialog.cc')
-rw-r--r-- | gtk2_ardour/plugin_pin_dialog.cc | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/gtk2_ardour/plugin_pin_dialog.cc b/gtk2_ardour/plugin_pin_dialog.cc index 1f4d654b71..e192fad4ba 100644 --- a/gtk2_ardour/plugin_pin_dialog.cc +++ b/gtk2_ardour/plugin_pin_dialog.cc @@ -1777,18 +1777,8 @@ PluginPinDialog::maybe_add_route_to_input_menu (boost::shared_ptr<Route> r, Data if (send->output ()->connected_to (_pi->sidechain_input ())) { // only if (send->remove_on_disconnect ()) ?? already_present = true; - ++nth; - continue; - } -#if 1 // add existing sends that are not connected - PortSet& p (send->output ()->ports ()); - for (PortSet::iterator i = p.begin (dt); i != p.end (dt); ++i) { - std::string n = i->name (); - replace_all (n, "_", " "); - citems.push_back (MenuElem (n, sigc::bind (sigc::mem_fun (*this, &PluginPinDialog::connect_port), wp, boost::weak_ptr<Port> (*i)))); - ++added; + break; } -#endif ++nth; } /* we're going to create the new send pre-fader, so check the route amp's data type. */ |