fix naming of unnamed cue locations

This commit is contained in:
Paul Davis 2022-01-04 16:21:52 -07:00
parent 1d2fa465d3
commit 54aa57a297
1 changed files with 3 additions and 1 deletions

View File

@ -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"));