summaryrefslogtreecommitdiff
path: root/gtk2_ardour/plugin_pin_dialog.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-04-18 01:01:49 +0200
committerRobin Gareus <robin@gareus.org>2016-04-18 01:01:49 +0200
commitdd750722c59cbd29551023c6a580011124e5cf16 (patch)
tree231be9fc9eaec6b951c172fdfdd08697a00fcd50 /gtk2_ardour/plugin_pin_dialog.cc
parentd3acba6be4a93ab757703816de1a6f12cf457a0e (diff)
more sidechain send GUI details:
* don't list exising normal sends (separate mono connections) * tooltip inidicate autoremoval
Diffstat (limited to 'gtk2_ardour/plugin_pin_dialog.cc')
-rw-r--r--gtk2_ardour/plugin_pin_dialog.cc12
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. */