mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 21:55:43 +01:00
add optional buttons to trigger lua scripted actions.
This commit is contained in:
parent
55fb20f491
commit
9c622e3c99
8 changed files with 108 additions and 2 deletions
|
|
@ -5746,8 +5746,10 @@ Editor::set_script_action_name (int i, const std::string& n)
|
|||
assert (act);
|
||||
if (n.empty ()) {
|
||||
act->set_label (string_compose (_("Unset #%1"), i + 1));
|
||||
act->set_tooltip (_("(no action bound"));
|
||||
} else {
|
||||
act->set_label (n);
|
||||
act->set_tooltip (n);
|
||||
}
|
||||
KeyEditor::UpdateBindings ();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue