diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2015-05-29 15:17:46 -0500 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2015-05-29 15:21:20 -0500 |
commit | 64586a8301e964271ba1181f292847345bc4117e (patch) | |
tree | 8dcc84aa18f63feb583d10326b5d3ca42f1db4c7 /gtk2_ardour | |
parent | 0412060b443bf289c80c62c119ab3114e0629892 (diff) |
factor out Route::muted_by_others from existing code
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/route_ui.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc index 300379363f..854f6e04cf 100644 --- a/gtk2_ardour/route_ui.cc +++ b/gtk2_ardour/route_ui.cc @@ -1201,8 +1201,7 @@ RouteUI::mute_active_state (Session* s, boost::shared_ptr<Route> r) if (r->muted ()) { /* full mute */ return Gtkmm2ext::ExplicitActive; - } else if (!r->is_master() && s->soloing() && !r->soloed() && !r->solo_isolated()) { - /* master is NEVER muted by others */ + } else if (r->muted_by_others()) { return Gtkmm2ext::ImplicitActive; } else { /* no mute at all */ |