Show 1-based channel numbers in MIDI controller automation menu.
[ardour.git] / gtk2_ardour / midi_time_axis.cc
index af19c9b037552e93a878bb885ceebf2a6c0edea1..af3c73f67a4d5c48aceaea6cd247665be3f5ad35 100644 (file)
@@ -760,7 +760,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)));