13
0

mute-all should not mute monitor or master

git-svn-id: svn://localhost/ardour2/branches/3.0@14045 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2013-02-03 13:20:54 +00:00
parent 6384ab230a
commit e0a1e756d3

View File

@ -150,7 +150,7 @@ void
Session::rt_set_mute (boost::shared_ptr<RouteList> rl, bool yn, bool /*group_override*/)
{
for (RouteList::iterator i = rl->begin(); i != rl->end(); ++i) {
if (!(*i)->is_hidden()) {
if (!(*i)->is_master() && !(*i)->is_monitor() && !(*i)->is_hidden()) {
(*i)->set_mute (yn, this);
}
}