diff options
Diffstat (limited to 'gtk2_ardour/editor.cc')
-rw-r--r-- | gtk2_ardour/editor.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 959cdd4e5c..b267eae670 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -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 (); } |