summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk2_ardour/midi_time_axis.cc4
1 files changed, 4 insertions, 0 deletions
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 ("<b>%1</b>: <i>%2</i>", _("Play"), _("all")));