diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-05-06 18:40:37 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-05-06 18:40:37 +0000 |
commit | f2ceb5c3404bb3e7f4ccc5bb3f2236f593775d73 (patch) | |
tree | b8cc08678ab9b4e189a5cd97ae16f425fe8ab0b4 /libs/ardour/route.cc | |
parent | e1ed9467dc9f9ffec7549958b1bca27b753e8742 (diff) |
lots of odds and ends to do with solo isolate and its GUI
git-svn-id: svn://localhost/ardour2/branches/3.0@7072 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r-- | libs/ardour/route.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 48eeae7774..e5a4b01fd1 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -716,22 +716,27 @@ Route::set_solo_isolated (bool yn, void *src) /* XXX should we back-propagate as well? (April 2010: myself and chris goddard think not) */ + bool changed = false; + if (yn) { if (_solo_isolated == 0) { _mute_master->set_solo_ignore (true); + changed = true; } _solo_isolated++; - solo_isolated_changed (src); } else { if (_solo_isolated > 0) { _solo_isolated--; if (_solo_isolated == 0) { _mute_master->set_solo_ignore (false); + changed = true; } - solo_isolated_changed (src); } } + if (changed) { + solo_isolated_changed (src); + } } bool |