From 875e89ff67704bc3f537aed25a0469c73510162d Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Tue, 28 May 2024 08:42:16 -0500 Subject: [PATCH] new Locations should be set IsMark, so there is no separate start/end --- gtk2_ardour/editor_rulers.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_rulers.cc b/gtk2_ardour/editor_rulers.cc index fa89ff1450..3121310d35 100644 --- a/gtk2_ardour/editor_rulers.cc +++ b/gtk2_ardour/editor_rulers.cc @@ -286,7 +286,7 @@ Editor::popup_ruler_menu (timepos_t const & where, ItemType t) Gtk::MenuItem& add_menu = ruler_items.back(); Gtk::Menu* a_menu = new Gtk::Menu; MenuList& add_items = a_menu->items(); - add_items.push_back (MenuElem (_("Location Marker"), sigc::bind (sigc::mem_fun(*this, &Editor::add_location_mark_with_flag), where, Location::Flags (0), 0))); + add_items.push_back (MenuElem (_("Location Marker"), sigc::bind (sigc::mem_fun(*this, &Editor::add_location_mark_with_flag), where, Location::Flags (Location::IsMark), 0))); add_items.push_back (MenuElem (_("Arrangement Marker"), sigc::bind (sigc::mem_fun(*this, &Editor::add_location_mark_with_flag), where, Location::Flags(Location::IsMark | Location::IsSection), 0))); add_items.push_back (MenuElem (_("CD Track Marker"), sigc::bind (sigc::mem_fun(*this, &Editor::add_location_mark_with_flag), where, Location::Flags(Location::IsMark |Location::IsCDMarker), 0))); add_items.push_back (MenuElem ("Cue Marker..."));