master mute button should not show Mid state since master is never muted-by-others

git-svn-id: svn://localhost/ardour2/branches/3.0@10587 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-11-14 17:49:37 +00:00
parent c66955386e
commit 154f2eec09

View File

@ -1071,7 +1071,8 @@ RouteUI::mute_active_state (Session* s, boost::shared_ptr<Route> r)
if (r->muted ()) {
/* full mute */
return Active;
} else if (s->soloing() && !r->soloed() && !r->solo_isolated()) {
} else if (!r->is_master() && s->soloing() && !r->soloed() && !r->solo_isolated()) {
/* master is NEVER muted by others */
return Mid;
} else {
/* no mute at all */