diff options
author | Julien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr> | 2016-08-26 16:18:28 +0200 |
---|---|---|
committer | Julien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr> | 2016-08-26 16:18:46 +0200 |
commit | 5c12de78dbd2f4aa2a1dd43efc44825023760b1c (patch) | |
tree | 8d9192bee4b5be1ed03a730541ecec325069e004 | |
parent | 7837122e457385c6236d389058dd4dff177543ba (diff) |
Update CC automation menu when changing channel selection
-rw-r--r-- | gtk2_ardour/midi_time_axis.cc | 4 |
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"))); |