From 54aa57a297c9c4a80c8edb14f2668c6b67847d7b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 4 Jan 2022 16:21:52 -0700 Subject: [PATCH] fix naming of unnamed cue locations --- libs/ardour/location.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/ardour/location.cc b/libs/ardour/location.cc index 52943dd290..69e262a04e 100644 --- a/libs/ardour/location.cc +++ b/libs/ardour/location.cc @@ -962,7 +962,9 @@ Locations::add (Location *loc, bool make_current) if (loc->name().empty()) { string new_name; - if (loc->is_mark()) { + if (loc->is_cue_marker()) { + next_available_name (new_name, _("cue")); + } else if (loc->is_mark()) { next_available_name (new_name, _("mark")); } else { next_available_name (new_name, _("range"));