Mark Sequence as edited when one of its parent ControlSet's ControlLists is changed.
git-svn-id: svn://localhost/ardour2/branches/3.0@7404 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -41,6 +41,8 @@ void
|
||||
ControlSet::add_control(boost::shared_ptr<Control> ac)
|
||||
{
|
||||
_controls[ac->parameter()] = ac;
|
||||
|
||||
ac->ListMarkedDirty.connect_same_thread (_control_connections, boost::bind (&ControlSet::control_list_marked_dirty, this));
|
||||
}
|
||||
|
||||
void
|
||||
@@ -108,6 +110,8 @@ ControlSet::clear_controls ()
|
||||
{
|
||||
Glib::Mutex::Lock lm (_control_lock);
|
||||
|
||||
_control_connections.drop_connections ();
|
||||
|
||||
for (Controls::iterator li = _controls.begin(); li != _controls.end(); ++li)
|
||||
li->second->list()->clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user