13
0

Update CC automation menu when changing channel selection

This commit is contained in:
Julien "_FrnchFrgg_" RIVAUD 2016-08-26 16:18:28 +02:00
parent 7837122e45
commit 5c12de78db

View File

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