diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-05-08 14:11:20 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-05-08 14:11:20 +0000 |
commit | f844b2c2ab2fb54d3edc1e32366644071d68e688 (patch) | |
tree | 43b69d60e63afb3043db8412bce9f319c225ac15 /gtk2_ardour/keyeditor.cc | |
parent | 15d6871c02b5daa518910807263a1c18a46c7870 (diff) |
allow keybindings manager to bind arrow keys, using hack from utils.cc that was already in place
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3328 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/keyeditor.cc')
-rw-r--r-- | gtk2_ardour/keyeditor.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/keyeditor.cc b/gtk2_ardour/keyeditor.cc index cdac398a30..e44d92943f 100644 --- a/gtk2_ardour/keyeditor.cc +++ b/gtk2_ardour/keyeditor.cc @@ -16,6 +16,7 @@ #include "actions.h" #include "keyboard.h" #include "keyeditor.h" +#include "utils.h" #include "i18n.h" @@ -167,6 +168,8 @@ KeyEditor::on_key_release_event (GdkEventKey* ev) goto out; } + possibly_translate_keyval_to_make_legal_accelerator (ev->keyval); + bool result = AccelMap::change_entry (path, ev->keyval, (ModifierType) ev->state, |