fix default naming of cue markers
This commit is contained in:
parent
54aa57a297
commit
73ca08933d
@ -725,12 +725,20 @@ void
|
||||
Editor::mouse_add_new_marker (timepos_t where, Location::Flags extra_flags)
|
||||
{
|
||||
string markername;
|
||||
string namebase;
|
||||
Location::Flags flags = Location::Flags (extra_flags|Location::IsMark);
|
||||
|
||||
cerr << "adding new marker @ " << where << endl;
|
||||
|
||||
if (_session) {
|
||||
_session->locations()->next_available_name(markername, _("mark"));
|
||||
|
||||
if (flags & Location::IsCueMarker) {
|
||||
namebase = _("cue");
|
||||
} else {
|
||||
namebase = _("mark");
|
||||
}
|
||||
_session->locations()->next_available_name (markername, namebase);
|
||||
|
||||
if (!choose_new_marker_name (markername)) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user