summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_ui.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-05-03 18:58:38 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-05-03 18:58:38 +0000
commite33d4553b2b333c30835b00741fc5c1fd0e2b36d (patch)
tree9bf8b6839f5078f1918113191689a0535ede52ae /gtk2_ardour/route_ui.cc
parent1b9bf21aa40eee32eb4c7ab49d1ad8ab51d09b11 (diff)
more solo model work, including a GUI fix for mute button state when the route is self-soloed
git-svn-id: svn://localhost/ardour2/branches/3.0@7048 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 e6c8fbf574..0aa1582896 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->muted_by_others() || r->path_muted_by_others()) {
+ } else if (!r->self_soloed() && (r->muted_by_others() || r->path_muted_by_others())) {
return 1;
} else {
/* no mute at all */