diff options
author | nick_m <mainsbridge@gmail.com> | 2015-11-02 05:34:09 +1100 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2015-11-02 05:34:09 +1100 |
commit | e709512f14c8a5fdf2b57717d214c350da440e8b (patch) | |
tree | f5e29ef577a0f95c5130357709ad5505d9cad5c8 /libs/ardour/automation_list.cc | |
parent | 7ade596c92b00eae871e8f2f5b5d6e0d1ebd93d7 (diff) |
Fix missing undo for record mute automation.
Diffstat (limited to 'libs/ardour/automation_list.cc')
-rw-r--r-- | libs/ardour/automation_list.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/automation_list.cc b/libs/ardour/automation_list.cc index 9d8bfffc93..0651d018f3 100644 --- a/libs/ardour/automation_list.cc +++ b/libs/ardour/automation_list.cc @@ -191,6 +191,9 @@ AutomationList::set_automation_state (AutoState s) { if (s != _state) { _state = s; + if (s == Write) { + _before = &get_state (); + } automation_state_changed (s); /* EMIT SIGNAL */ } } |