Re-offer region context menu even when in note mode, as selections made out of note...
authorCarl Hetherington <carl@carlh.net>
Sat, 29 Jan 2011 19:01:49 +0000 (19:01 +0000)
committerCarl Hetherington <carl@carlh.net>
Sat, 29 Jan 2011 19:01:49 +0000 (19:01 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@8612 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/editor.cc

index 664862921684bf25e1aa2f8c91c6bb0a3881fb42..cdbbb59105810b13021f236b79aaf5e33f3b83d8 100644 (file)
@@ -1534,10 +1534,7 @@ Editor::build_track_region_context_menu ()
                boost::shared_ptr<Track> tr;
                boost::shared_ptr<Playlist> pl;
 
-               /* Don't offer a region submenu if we are in internal edit mode, as we don't select regions in this
-                  mode and so offering region context is somewhat confusing.
-               */
-               if ((tr = rtv->track()) && ((pl = tr->playlist())) && !internal_editing()) {
+               if ((tr = rtv->track()) && ((pl = tr->playlist()))) {
                        framepos_t const framepos = (framepos_t) floor ((double) get_preferred_edit_position() * tr->speed());
                        uint32_t regions_at = pl->count_regions_at (framepos);
                        add_region_context_items (edit_items, regions_at > 1);