diff options
author | nick_m <mainsbridge@gmail.com> | 2015-11-03 04:18:09 +1100 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2015-11-03 04:18:09 +1100 |
commit | 3b0f068fe900a1ca2a7072869aee6fff117345bc (patch) | |
tree | 946ec254160cd14f7f1a305ae4b70b899739e0e7 /libs/ardour/automation_list.cc | |
parent | 66f39ddcd0fa9d1ed8077ec2beab4e4b763d444e (diff) |
AutomationList::set_automation_state () only needs a memento for toggled.
Diffstat (limited to 'libs/ardour/automation_list.cc')
-rw-r--r-- | libs/ardour/automation_list.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/automation_list.cc b/libs/ardour/automation_list.cc index 0651d018f3..bc8ca8e642 100644 --- a/libs/ardour/automation_list.cc +++ b/libs/ardour/automation_list.cc @@ -191,7 +191,7 @@ AutomationList::set_automation_state (AutoState s) { if (s != _state) { _state = s; - if (s == Write) { + if (s == Write && _desc.toggled) { _before = &get_state (); } automation_state_changed (s); /* EMIT SIGNAL */ |