mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
lua action details (button sensitivity, text ellipsis)
This commit is contained in:
parent
f4f9963cdd
commit
5e0f0fc9f2
3 changed files with 10 additions and 1 deletions
|
|
@ -5747,9 +5747,11 @@ Editor::set_script_action_name (int i, const std::string& n)
|
|||
if (n.empty ()) {
|
||||
act->set_label (string_compose (_("Unset #%1"), i + 1));
|
||||
act->set_tooltip (_("(no action bound"));
|
||||
act->set_sensitive (false);
|
||||
} else {
|
||||
act->set_label (n);
|
||||
act->set_tooltip (n);
|
||||
act->set_sensitive (true);
|
||||
}
|
||||
KeyEditor::UpdateBindings ();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue