From a0b2e85c7c97fca86ce92bdb075651a78b6af270 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 2 Feb 2025 11:29:35 -0700 Subject: [PATCH] better handling of MIDI channel selector on pianoroll --- gtk2_ardour/editing_context.cc | 2 +- gtk2_ardour/pianoroll.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/editing_context.cc b/gtk2_ardour/editing_context.cc index e032bc79f3..a1bb944231 100644 --- a/gtk2_ardour/editing_context.cc +++ b/gtk2_ardour/editing_context.cc @@ -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) diff --git a/gtk2_ardour/pianoroll.cc b/gtk2_ardour/pianoroll.cc index d6aeff5bf0..1f36aa42cb 100644 --- a/gtk2_ardour/pianoroll.cc +++ b/gtk2_ardour/pianoroll.cc @@ -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 ();