mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 12:16:30 +01:00
better handling of MIDI channel selector on pianoroll
This commit is contained in:
parent
01b26c3bb8
commit
a0b2e85c7c
2 changed files with 2 additions and 2 deletions
|
|
@ -135,7 +135,7 @@ EditingContext::EditingContext (std::string const & name)
|
||||||
, _timeline_origin (0.)
|
, _timeline_origin (0.)
|
||||||
, play_note_selection_button (ArdourButton::default_elements)
|
, play_note_selection_button (ArdourButton::default_elements)
|
||||||
, follow_playhead_button (_("F"), ArdourButton::Text, true)
|
, follow_playhead_button (_("F"), ArdourButton::Text, true)
|
||||||
, visible_channel_label (_("MIDI|Channel"))
|
, visible_channel_label (_("MIDI Channel"))
|
||||||
, _drags (new DragManager (this))
|
, _drags (new DragManager (this))
|
||||||
, _leftmost_sample (0)
|
, _leftmost_sample (0)
|
||||||
, _playhead_cursor (nullptr)
|
, _playhead_cursor (nullptr)
|
||||||
|
|
|
||||||
|
|
@ -327,7 +327,7 @@ void
|
||||||
Pianoroll::set_visible_channel (int n)
|
Pianoroll::set_visible_channel (int n)
|
||||||
{
|
{
|
||||||
_visible_channel = 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 ();
|
rebuild_parameter_button_map ();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue