mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-10 15:36:24 +01:00
Show 1-based channel numbers in MIDI controller automation menu.
This matches the numbers shown elsewhere, previously if you had a track set to e.g. channel 10, the controller menu items had "[9]" suffixes.
This commit is contained in:
parent
46624ea356
commit
83705d19b2
1 changed files with 1 additions and 1 deletions
|
|
@ -757,7 +757,7 @@ MidiTimeAxisView::add_single_channel_controller_item(Menu_Helpers::MenuList& ctl
|
|||
Evoral::Parameter fully_qualified_param (MidiCCAutomation, chn, ctl);
|
||||
ctl_items.push_back (
|
||||
CheckMenuElem (
|
||||
string_compose ("<b>%1</b>: %2 [%3]", ctl, name, int (chn)),
|
||||
string_compose ("<b>%1</b>: %2 [%3]", ctl, name, int (chn + 1)),
|
||||
sigc::bind (
|
||||
sigc::mem_fun (*this, &RouteTimeAxisView::toggle_automation_track),
|
||||
fully_qualified_param)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue