From b2c62db45041f2d95b4467d4f063730501e44c7c Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 7 Jun 2020 18:13:23 +0200 Subject: [PATCH] Fix initial action-button tooltip The same string is used in ARDOUR_UI::action_script_changed() when an action is un-assigned. --- gtk2_ardour/editor_actions.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_actions.cc b/gtk2_ardour/editor_actions.cc index 164bcf56f8..5eb29cfecf 100644 --- a/gtk2_ardour/editor_actions.cc +++ b/gtk2_ardour/editor_actions.cc @@ -493,7 +493,7 @@ Editor::register_actions () string const a = string_compose (X_("script-%1"), i); string const n = string_compose (_("Unset #%1"), i); act = ActionManager::register_action (lua_script_actions, a.c_str(), n.c_str(), sigc::bind (sigc::mem_fun (*this, &Editor::trigger_script), i - 1)); - act->set_tooltip (_("no action bound")); + act->set_tooltip (_("No action bound\nRight-click to assign")); act->set_sensitive (false); }