diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-03-15 18:15:26 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-03-15 18:15:26 -0400 |
commit | 694c7254e19fd0fbabe1ad25020fc0785216eb96 (patch) | |
tree | 1332c0a87acb42021522ee841099445f0d3fd066 /gtk2_ardour/keyeditor.h | |
parent | 285b76dc08ab5e14bd9951c51e2710a49e1f91ec (diff) |
in key editor, attach key press/release handlers before other handlers so that normal treeview navigation keys (backspace, up, down etc.) can still be bound
Diffstat (limited to 'gtk2_ardour/keyeditor.h')
-rw-r--r-- | gtk2_ardour/keyeditor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/keyeditor.h b/gtk2_ardour/keyeditor.h index d9b8ed9768..2a612160fa 100644 --- a/gtk2_ardour/keyeditor.h +++ b/gtk2_ardour/keyeditor.h @@ -89,8 +89,8 @@ class KeyEditor : public ArdourWindow guint last_keyval; protected: - bool on_key_press_event (GdkEventKey*); - bool on_key_release_event (GdkEventKey*); + bool key_press_event (GdkEventKey*); + bool key_release_event (GdkEventKey*); Gtk::TreeModel::iterator find_action_path (Gtk::TreeModel::const_iterator begin, Gtk::TreeModel::const_iterator end, const std::string& path) const; }; |