diff options
author | Carl Hetherington <carl@carlh.net> | 2010-01-08 01:28:15 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-01-08 01:28:15 +0000 |
commit | 1a1edc9ca1b3b601934c2079d66e4172e43bc606 (patch) | |
tree | 28ca8587ac06e2825347c20aaf95c79e794c60cc /gtk2_ardour/editor_actions.cc | |
parent | 2e30bdba9f4841fd050c7ef4e960617761b85453 (diff) |
Make a new action "escape", bound to the Escape key, and make it
abort a drag (if one is in progress) or clear the selection.
Fix breaking of drags in a few cases; some still to do.
git-svn-id: svn://localhost/ardour2/branches/3.0@6467 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_actions.cc')
-rw-r--r-- | gtk2_ardour/editor_actions.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_actions.cc b/gtk2_ardour/editor_actions.cc index 99177601f6..4193e74d74 100644 --- a/gtk2_ardour/editor_actions.cc +++ b/gtk2_ardour/editor_actions.cc @@ -106,7 +106,7 @@ Editor::register_actions () /* add named actions for the editor */ - ActionManager::register_action (editor_actions, "break-drag", _("Break drag"), sigc::mem_fun (*this, &Editor::break_drag)); + ActionManager::register_action (editor_actions, "escape", _("Break drag or deselect all"), sigc::mem_fun (*this, &Editor::escape)); act = ActionManager::register_toggle_action (editor_actions, "show-editor-mixer", _("Show Editor Mixer"), sigc::mem_fun (*this, &Editor::editor_mixer_button_toggled)); ActionManager::session_sensitive_actions.push_back (act); |