summaryrefslogtreecommitdiff
path: root/gtk2_ardour/mixer_ui.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-09-03 22:01:35 +0200
committerRobin Gareus <robin@gareus.org>2019-09-03 22:01:35 +0200
commite7637d7786e8e078c0ea01bb992c157009fe92a4 (patch)
treeb3dac5a4d9037e5b6e3854e212e1c40829e08663 /gtk2_ardour/mixer_ui.cc
parente30a1032d06d22770e91277542031908e1bfc2f5 (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/mixer_ui.cc')
-rw-r--r--gtk2_ardour/mixer_ui.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/mixer_ui.cc b/gtk2_ardour/mixer_ui.cc
index de59ef2a68..25effbd0e8 100644
--- a/gtk2_ardour/mixer_ui.cc
+++ b/gtk2_ardour/mixer_ui.cc
@@ -3383,6 +3383,7 @@ Mixer_UI::control_action (boost::shared_ptr<T> (Stripable::*get_control)() const
if (s) {
ac = (s.get()->*get_control)();
if (ac) {
+ ac->start_touch (_session->audible_sample ());
cl->push_back (ac);
if (!have_val) {
val = !ac->get_value();