summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-02-11 11:57:13 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2014-02-11 11:57:13 -0500
commit9be3bfa68765aa1cee42754a48b752286e901758 (patch)
tree347c5645ca21c6ca22904b9d956502bb7ed25265 /gtk2_ardour
parentf8ed1bbcf4e0f56911e2b6975efc627af949869d (diff)
make top_event_box of mixer strip show per-route color whether or not the route is a track or a bus (Valeriy)
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/mixer_strip.cc15
1 files 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<Bundle> b, ARDOUR
void
MixerStrip::update_diskstream_display ()
{
- if (is_track()) {
-
- if (input_selector) {
- input_selector->hide_all ();
- }
-
- route_color_changed ();
+ if (is_track() && input_selector) {
+ input_selector->hide_all ();
+ }
- } else {
-
- show_passthru_color ();
- }
+ route_color_changed ();
}
void