From 9be3bfa68765aa1cee42754a48b752286e901758 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 11 Feb 2014 11:57:13 -0500 Subject: [PATCH] make top_event_box of mixer strip show per-route color whether or not the route is a track or a bus (Valeriy) --- gtk2_ardour/mixer_strip.cc | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index 76b7514823..bb552c936b 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -992,18 +992,11 @@ MixerStrip::maybe_add_bundle_to_output_menu (boost::shared_ptr b, ARDOUR void MixerStrip::update_diskstream_display () { - if (is_track()) { + if (is_track() && input_selector) { + input_selector->hide_all (); + } - if (input_selector) { - input_selector->hide_all (); - } - - route_color_changed (); - - } else { - - show_passthru_color (); - } + route_color_changed (); } void