diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index df1b100763..ce97d87a03 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -4198,7 +4198,8 @@ Editor::bounce_range_selection (BounceTarget target, bool enable_processing) for (int c = 0; c < default_triggers_per_box; ++c) { // XXX ('A' + x) is not translatable, TODO abstract using nth_letter() - tslot->AddMenuElem (Menu_Helpers::MenuElem (string_compose ("%1", (char)('A' + c)), sigc::bind ([] (uint32_t* t, uint32_t v) {*t = v;}, &trigger_slot, c))); + std::string lbl = string_compose ("%1", (char)('A' + c)); + tslot->AddMenuElem (Menu_Helpers::MenuElem (lbl, sigc::bind ([] (uint32_t* t, uint32_t v, ArdourDropdown* s, std::string l) {*t = v; s->set_text (l);}, &trigger_slot, c, tslot, lbl))); } tslot->set_active ("A");