Fix mute toggle actions when mute is automated

Track menu, as well as mixer-shortcut to set/unset mute
of selected tracks needs to send a start_touch() event, otherwise
the change is not effective.
This commit is contained in:
Robin Gareus 2019-09-03 22:01:35 +02:00
parent e30a1032d0
commit e7637d7786
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
2 changed files with 4 additions and 1 deletions

View file

@ -6162,7 +6162,9 @@ Editor::toggle_mute ()
first = false;
}
cl->push_back (stav->stripable()->mute_control());
boost::shared_ptr<MuteControl> mc = stav->stripable()->mute_control();
cl->push_back (mc);
mc->start_touch (_session->audible_sample ());
}
_session->set_controls (cl, new_state, Controllable::UseGroup);