Don't allow loop, punch, or session range markers to be renamed.
Don't allow loop, punch, or session range markers to be renamed, even when double-clicked.
This commit is contained in:
parent
e7875954ca
commit
8c26a2fab0
@ -1350,7 +1350,11 @@ Editor::rename_marker(Marker *marker)
|
|||||||
|
|
||||||
loc = find_location_from_marker (marker, is_start);
|
loc = find_location_from_marker (marker, is_start);
|
||||||
|
|
||||||
if (!loc) return;
|
if (!loc)
|
||||||
|
return;
|
||||||
|
|
||||||
|
if (loc == transport_loop_location() || loc == transport_punch_location() || loc->is_session_range())
|
||||||
|
return;
|
||||||
|
|
||||||
ArdourPrompter dialog (true);
|
ArdourPrompter dialog (true);
|
||||||
string txt;
|
string txt;
|
||||||
|
Loading…
Reference in New Issue
Block a user