better handling of MIDI channel selector on pianoroll
This commit is contained in:
@@ -135,7 +135,7 @@ EditingContext::EditingContext (std::string const & name)
|
||||
, _timeline_origin (0.)
|
||||
, play_note_selection_button (ArdourButton::default_elements)
|
||||
, follow_playhead_button (_("F"), ArdourButton::Text, true)
|
||||
, visible_channel_label (_("MIDI|Channel"))
|
||||
, visible_channel_label (_("MIDI Channel"))
|
||||
, _drags (new DragManager (this))
|
||||
, _leftmost_sample (0)
|
||||
, _playhead_cursor (nullptr)
|
||||
|
||||
@@ -327,7 +327,7 @@ void
|
||||
Pianoroll::set_visible_channel (int n)
|
||||
{
|
||||
_visible_channel = n;
|
||||
visible_channel_label.set_text (string_compose (_("MIDI Channel %1"), _visible_channel + 1));
|
||||
visible_channel_selector.set_active (string_compose ("%1", _visible_channel + 1));
|
||||
|
||||
rebuild_parameter_button_map ();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user