summaryrefslogtreecommitdiff
path: root/libs/ardour/session.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-03-19 20:53:22 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-03-19 20:53:22 +0000
commitd1630219500305397e1608e09508872f0ab2f836 (patch)
tree5ae9bc1619fb2a0646628614aa85103288bfee60 /libs/ardour/session.cc
parent587021ac0b63897d9b984d01b62b5dbb8514dd4f (diff)
lots of tricks & tweaks related to the monitor section and All That It Uses
git-svn-id: svn://localhost/ardour2/branches/3.0@6777 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r--libs/ardour/session.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc
index 80a175bf30..1fec3dbcc6 100644
--- a/libs/ardour/session.cc
+++ b/libs/ardour/session.cc
@@ -4104,11 +4104,11 @@ Session::solo_control_mode_changed ()
{
/* cancel all solo or all listen when solo control mode changes */
- if (Config->get_solo_control_is_listen_control()) {
- set_solo (routes.reader(), false);
- } else {
- set_listen (routes.reader(), false);
- }
+ if (soloing()) {
+ set_solo (get_routes(), false);
+ } else if (listening()) {
+ set_listen (get_routes(), false);
+ }
}
void