From 154f2eec09d87c4b393102a9edbb2b7cdf5687a2 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 14 Nov 2011 17:49:37 +0000 Subject: [PATCH] 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 --- gtk2_ardour/route_ui.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc index 3eca92702a..8f8626f7ba 100644 --- a/gtk2_ardour/route_ui.cc +++ b/gtk2_ardour/route_ui.cc @@ -1071,7 +1071,8 @@ RouteUI::mute_active_state (Session* s, boost::shared_ptr 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 */