summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-05-27 01:32:01 +0000
committerCarl Hetherington <carl@carlh.net>2010-05-27 01:32:01 +0000
commitdc13054674e7c7e27ae9a4ccee20b08ea8c7707e (patch)
tree2cddacb4cd88105ed596df2cc59fab321d1cd271 /gtk2_ardour/editor.cc
parente2b48e90df2b6282dfd8270b3bb771398c13e715 (diff)
Always show region properties menu item, and offer the list editor even outside of internal edit mode.
git-svn-id: svn://localhost/ardour2/branches/3.0@7176 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor.cc')
-rw-r--r--gtk2_ardour/editor.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc
index 353f4099f4..57f0b1f42d 100644
--- a/gtk2_ardour/editor.cc
+++ b/gtk2_ardour/editor.cc
@@ -1670,11 +1670,10 @@ Editor::add_region_context_items (StreamView* sv, boost::shared_ptr<Region> regi
sigc::bind (sigc::mem_fun(*this, &Editor::set_selected_regionview_from_map_event), sv, boost::weak_ptr<Region>(region)));
items.push_back (MenuElem (_("Rename..."), sigc::mem_fun(*this, &Editor::rename_region)));
- if (mr && internal_editing()) {
- items.push_back (MenuElem (_("List editor..."), sigc::mem_fun(*this, &Editor::show_midi_list_editor)));
- } else {
- items.push_back (MenuElem (_("Region Properties..."), sigc::mem_fun(*this, &Editor::edit_region)));
+ if (mr) {
+ items.push_back (MenuElem (_("List Editor..."), sigc::mem_fun(*this, &Editor::show_midi_list_editor)));
}
+ items.push_back (MenuElem (_("Region Properties..."), sigc::mem_fun(*this, &Editor::edit_region)));
}
items.push_back (MenuElem (_("Raise to Top Layer"), sigc::mem_fun(*this, &Editor::raise_region_to_top)));