Update CC automation menu when changing channel selection
This commit is contained in:
parent
7837122e45
commit
5c12de78db
|
@ -1613,6 +1613,10 @@ MidiTimeAxisView::contents_height_changed ()
|
||||||
void
|
void
|
||||||
MidiTimeAxisView::playback_channel_mode_changed ()
|
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()) {
|
switch (midi_track()->get_playback_channel_mode()) {
|
||||||
case AllChannels:
|
case AllChannels:
|
||||||
_playback_channel_status.set_markup (string_compose ("<b>%1</b>: <i>%2</i>", _("Play"), _("all")));
|
_playback_channel_status.set_markup (string_compose ("<b>%1</b>: <i>%2</i>", _("Play"), _("all")));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user