From 5c12de78dbd2f4aa2a1dd43efc44825023760b1c Mon Sep 17 00:00:00 2001 From: "Julien \"_FrnchFrgg_\" RIVAUD" Date: Fri, 26 Aug 2016 16:18:28 +0200 Subject: Update CC automation menu when changing channel selection --- gtk2_ardour/midi_time_axis.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gtk2_ardour/midi_time_axis.cc b/gtk2_ardour/midi_time_axis.cc index 5058658063..c65b23428d 100644 --- a/gtk2_ardour/midi_time_axis.cc +++ b/gtk2_ardour/midi_time_axis.cc @@ -1613,6 +1613,10 @@ MidiTimeAxisView::contents_height_changed () void MidiTimeAxisView::playback_channel_mode_changed () { + /* Invalidate the controller automation menu */ + delete controller_menu; + controller_menu = 0; + /* Update the button text */ switch (midi_track()->get_playback_channel_mode()) { case AllChannels: _playback_channel_status.set_markup (string_compose ("%1: %2", _("Play"), _("all"))); -- cgit v1.2.3