diff options
Diffstat (limited to 'gtk2_ardour/mixer_strip.cc')
-rw-r--r-- | gtk2_ardour/mixer_strip.cc | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index a7cb17b0db..48f44cadf4 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -868,10 +868,7 @@ MixerStrip::maybe_add_bundle_to_input_menu (boost::shared_ptr<Bundle> b, ARDOUR: { using namespace Menu_Helpers; - if (b->ports_are_outputs() == false || - route()->input()->default_type() != b->type() || - b->nchannels() != _route->n_inputs().get (b->type ())) { - + if (b->ports_are_outputs() == false || b->nchannels() != _route->n_inputs()) { return; } @@ -905,10 +902,7 @@ MixerStrip::maybe_add_bundle_to_output_menu (boost::shared_ptr<Bundle> b, ARDOUR { using namespace Menu_Helpers; - if (b->ports_are_inputs() == false || - route()->output()->default_type() != b->type() || - b->nchannels() != _route->n_outputs().get (b->type ())) { - + if (b->ports_are_inputs() == false || b->nchannels() != _route->n_outputs()) { return; } |