mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 21:55:43 +01:00
Fix marker context-menu (bug missed in 12a415f07)
This commit is contained in:
parent
e186234d2b
commit
e8284def1f
1 changed files with 2 additions and 2 deletions
|
|
@ -843,7 +843,7 @@ Editor::marker_context_menu (GdkEventButton* ev, ArdourCanvas::Item* item)
|
|||
|
||||
if (loc == transport_loop_location() || loc == transport_punch_location() || loc->is_session_range ()) {
|
||||
|
||||
build_range_marker_menu (loc, loc == transport_loop_location() || loc == transport_punch_location(), loc->is_session_range()); // XXX
|
||||
build_range_marker_menu (loc, loc == transport_loop_location() || loc == transport_punch_location(), loc->is_session_range());
|
||||
|
||||
marker_menu_item = item;
|
||||
range_marker_menu->popup (1, ev->time);
|
||||
|
|
@ -936,7 +936,7 @@ Editor::build_range_marker_menu (Location* loc, bool loop_or_punch, bool session
|
|||
bool const loop_or_punch_or_session = loop_or_punch || session;
|
||||
|
||||
delete range_marker_menu;
|
||||
Menu* range_marker_menu = new Menu;
|
||||
range_marker_menu = new Menu;
|
||||
|
||||
MenuList& items = range_marker_menu->items();
|
||||
range_marker_menu->set_name ("ArdourContextMenu");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue