summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_ui.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-05-03 22:07:47 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-05-03 22:07:47 +0000
commitdda06229570980a61de8a9395c1539958cc30b0f (patch)
tree6339b9214121750de658d26729b022d5295e517f /gtk2_ardour/route_ui.cc
parente33d4553b2b333c30835b00741fc5c1fd0e2b36d (diff)
the great solo model simplification (without much code removal)
git-svn-id: svn://localhost/ardour2/branches/3.0@7049 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_ui.cc')
-rw-r--r--gtk2_ardour/route_ui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc
index 0aa1582896..f3430ccc4a 100644
--- a/gtk2_ardour/route_ui.cc
+++ b/gtk2_ardour/route_ui.cc
@@ -838,7 +838,7 @@ RouteUI::mute_visual_state (Session* s, boost::shared_ptr<Route> r)
if (r->self_muted ()) {
/* full mute */
return 2;
- } else if (!r->self_soloed() && (r->muted_by_others() || r->path_muted_by_others())) {
+ } else if (s->soloing() && !r->soloed() && !r->solo_isolated()) {
return 1;
} else {
/* no mute at all */