mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
refactor methods to add a location/section marker so that there is only one method for this
This commit is contained in:
parent
8ad53bc96c
commit
2d5884ccb1
8 changed files with 34 additions and 64 deletions
|
|
@ -1180,7 +1180,7 @@ Editor::section_rect_event (GdkEvent* ev, Location* loc, ArdourCanvas::Rectangle
|
|||
MenuList& items (section_box_menu.items());
|
||||
items.clear ();
|
||||
|
||||
items.push_back (MenuElem (_("New Arrangement Marker"), sigc::bind (sigc::mem_fun(*this, &Editor::mouse_add_new_marker), where, Location::Flags(Location::IsMark | Location::IsSection), 0)));
|
||||
items.push_back (MenuElem (_("New Arrangement Marker"), sigc::bind (sigc::mem_fun(*this, &Editor::add_location_mark_with_flag), where, Location::Flags(Location::IsMark | Location::IsSection), 0)));
|
||||
items.push_back (MenuElem (_("Select Arrangement Section"), sigc::bind (sigc::mem_fun(*_sections, &EditorSections::select), l)));
|
||||
#if 0
|
||||
items.push_back (SeparatorElem());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue