summaryrefslogtreecommitdiff
path: root/gtk2_ardour/keyeditor.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-12-18 11:14:41 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2014-12-18 11:14:41 -0500
commit4453803c0c4bce4e4bfe5549f8e93453fa864506 (patch)
treea69bd552a7e0eade5fba6a667f06447633e28d8d /gtk2_ardour/keyeditor.h
parent0d771999ac9c1de2987b3d549ecc060e818bd69c (diff)
This fixes a bug where an impossible keybinding assignment is possible.
It also makes it behave similar to the gtk keybinder. See Bug 5888 for more details. From pull request #82 @ github, from Domohawk
Diffstat (limited to 'gtk2_ardour/keyeditor.h')
-rw-r--r--gtk2_ardour/keyeditor.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/keyeditor.h b/gtk2_ardour/keyeditor.h
index 76e70f10ba..2fecfb4333 100644
--- a/gtk2_ardour/keyeditor.h
+++ b/gtk2_ardour/keyeditor.h
@@ -67,8 +67,7 @@ class KeyEditor : public ArdourWindow
void unbind ();
- bool can_bind;
- guint last_state;
+ guint last_keyval;
void action_selected ();
void populate ();