From d9d0c6b0b31bda271df216a90b16c9b4b228af28 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 22 Mar 2012 16:42:21 +0000 Subject: [PATCH] Fix double separator on session range context menu. git-svn-id: svn://localhost/ardour2/branches/3.0@11751 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_markers.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); }