mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
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:
parent
e30a1032d0
commit
e7637d7786
2 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue