make that status-bar error change actually compile
[ardour.git] / gtk2_ardour / keyeditor.cc
index e44d92943f15aa3b76765d529465da200811ef9b..fcb5646ae3182e5487b657407a4cbee6e1af51d8 100644 (file)
@@ -26,7 +26,7 @@ using namespace Gdk;
 using namespace PBD;
 
 KeyEditor::KeyEditor ()
-       : ArdourDialog (_("Shortcut Editor"), false)
+       : ArdourDialog (_("Keybindings"), false)
        , unbind_button (_("Remove shortcut"))
        , unbind_box (BUTTONBOX_END)
        
@@ -172,7 +172,7 @@ KeyEditor::on_key_release_event (GdkEventKey* ev)
 
                bool result = AccelMap::change_entry (path,
                                                      ev->keyval,
-                                                     (ModifierType) ev->state,
+                                                     ModifierType (Keyboard::RelevantModifierKeyMask & ev->state),
                                                      true);
 
                if (result) {