diff options
author | Carl Hetherington <carl@carlh.net> | 2012-03-22 16:42:21 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-03-22 16:42:21 +0000 |
commit | d9d0c6b0b31bda271df216a90b16c9b4b228af28 (patch) | |
tree | 2bc580565d7e290b77086c471b0216ae4c8b1f8e | |
parent | 64425f77e71833d913a5834ed13354b4199c40d2 (diff) |
Fix double separator on session range context menu.
git-svn-id: svn://localhost/ardour2/branches/3.0@11751 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | gtk2_ardour/editor_markers.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_markers.cc b/gtk2_ardour/editor_markers.cc index 96ae8e66e0..7090fc23cd 100644 --- a/gtk2_ardour/editor_markers.cc +++ b/gtk2_ardour/editor_markers.cc @@ -894,7 +894,7 @@ Editor::build_range_marker_menu (bool loop_or_punch, bool session) items.push_back (MenuElem (_("Remove Range"), sigc::mem_fun(*this, &Editor::marker_menu_remove))); } - if (loop_or_punch_or_session) { + if (!loop_or_punch_or_session || !session) { items.push_back (SeparatorElem()); } |