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")));