diff options
author | Carl Hetherington <carl@carlh.net> | 2010-07-12 00:41:45 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-07-12 00:41:45 +0000 |
commit | d1b4599725abda6b8697151fd4a1bd3740ad2f2a (patch) | |
tree | a6c7035d9316f8a1c1fef9aa079a76a210b643a5 /libs/ardour/automatable.cc | |
parent | 6f5ee7c4293c43486d48bac00fdcdba90dabb17d (diff) |
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
Diffstat (limited to 'libs/ardour/automatable.cc')
-rw-r--r-- | libs/ardour/automatable.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/ardour/automatable.cc b/libs/ardour/automatable.cc index 1e5b497bf7..bed99d5660 100644 --- a/libs/ardour/automatable.cc +++ b/libs/ardour/automatable.cc @@ -484,3 +484,11 @@ Automatable::automation_state_changed (Evoral::Parameter const & p) { AutomationStateChanged (p); /* EMIT SIGNAL */ } + +void +Automatable::clear_controls () +{ + _control_connections.drop_connections (); + ControlSet::clear_controls (); +} + |