mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
remove "Make Ramped" from right click tempo marker menu.
This commit is contained in:
parent
1359f18543
commit
c9387055e4
1 changed files with 2 additions and 4 deletions
|
|
@ -991,10 +991,8 @@ Editor::build_tempo_marker_menu (TempoMarker* loc, bool can_remove)
|
|||
MenuList& items = tempo_marker_menu->items();
|
||||
tempo_marker_menu->set_name ("ArdourContextMenu");
|
||||
|
||||
if (loc->tempo().type() == TempoSection::Constant) {
|
||||
items.push_back (MenuElem (_("Make Ramped"), sigc::mem_fun(*this, &Editor::toggle_tempo_type)));
|
||||
} else {
|
||||
items.push_back (MenuElem (_("Make Constant"), sigc::mem_fun(*this, &Editor::toggle_tempo_type)));
|
||||
if (loc->tempo().type() == TempoSection::Ramp) {
|
||||
items.push_back (MenuElem (_("Set Constant"), sigc::mem_fun(*this, &Editor::toggle_tempo_type)));
|
||||
}
|
||||
|
||||
if (loc->tempo().position_lock_style() == AudioTime && can_remove) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue