diff options
author | Robin Gareus <robin@gareus.org> | 2019-09-03 22:01:35 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-09-03 22:01:35 +0200 |
commit | e7637d7786e8e078c0ea01bb992c157009fe92a4 (patch) | |
tree | b3dac5a4d9037e5b6e3854e212e1c40829e08663 /gtk2_ardour/editor_ops.cc | |
parent | e30a1032d06d22770e91277542031908e1bfc2f5 (diff) |
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.
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r-- | gtk2_ardour/editor_ops.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index 99e7d1133a..c4c6f18ac8 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -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); |