13
0

Fix double separator on session range context menu.

git-svn-id: svn://localhost/ardour2/branches/3.0@11751 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2012-03-22 16:42:21 +00:00
parent 64425f77e7
commit d9d0c6b0b3

View File

@ -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))); 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()); items.push_back (SeparatorElem());
} }