better handling of MIDI channel selector on pianoroll

This commit is contained in:
Paul Davis 2025-02-02 11:29:35 -07:00
parent 01b26c3bb8
commit a0b2e85c7c
2 changed files with 2 additions and 2 deletions

View file

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

View file

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