From f7763f4d8c041bc1ce19fbca22ee6c52af8a42cb Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 17 Dec 2010 04:14:24 +0000 Subject: [PATCH] patch from lincoln to make mute controllable emit its Changed signal; note to self: should route really have a mute_changed() signal too? git-svn-id: svn://localhost/ardour2/branches/3.0@8291 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/route.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 51ea1960cb..6f9780d4b9 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -108,7 +108,7 @@ Route::init () /* add standard controls */ _solo_control->set_flags (Controllable::Flag (_solo_control->flags() | Controllable::Toggle)); - _mute_control->set_flags (Controllable::Flag (_solo_control->flags() | Controllable::Toggle)); + _mute_control->set_flags (Controllable::Flag (_mute_control->flags() | Controllable::Toggle)); add_control (_solo_control); add_control (_mute_control); @@ -784,6 +784,7 @@ Route::set_mute_points (MuteMaster::MutePoint mp) if (_mute_master->muted_by_self()) { mute_changed (this); /* EMIT SIGNAL */ + _mute_control->Changed (); /* EMIT SIGNAL */ } } @@ -798,6 +799,7 @@ Route::set_mute (bool yn, void *src) if (muted() != yn) { _mute_master->set_muted_by_self (yn); mute_changed (src); /* EMIT SIGNAL */ + _mute_control->Changed (); /* EMIT SIGNAL */ } } -- 2.30.2