AutomationList::set_automation_state () only needs a memento for toggled.
This commit is contained in:
parent
66f39ddcd0
commit
3b0f068fe9
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue
Block a user