mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
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:
parent
6f5ee7c429
commit
d1b4599725
12 changed files with 60 additions and 20 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue