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:
parent
64425f77e7
commit
d9d0c6b0b3
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user