Transpose should appear in the popup region context menu as well as the Regions menu
[ardour.git] / gtk2_ardour / editor.cc
index 55c1b1a7eba8318d3e75dfc3ef7917c4e43de2ef..1d3c329f4e816e731881b6252a45fb3c947150ae 100644 (file)
@@ -1902,6 +1902,8 @@ Editor::add_region_context_items (AudioStreamView* sv, boost::shared_ptr<Region>
                fooc.block (false);
        }
        
+       items.push_back (MenuElem (_("Transpose"), mem_fun(*this, &Editor::pitch_shift_regions)));
+
        if (!Profile->get_sae()) {
                items.push_back (CheckMenuElem (_("Opaque")));
                CheckMenuItem* region_opaque_item = static_cast<CheckMenuItem*>(&items.back());