mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
fix naming of unnamed cue locations
This commit is contained in:
parent
1d2fa465d3
commit
54aa57a297
1 changed files with 3 additions and 1 deletions
|
|
@ -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"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue