edited keybindings should be stored in lower-case form
This commit is contained in:
parent
b4ead1dda6
commit
6aa7ca6d70
@ -238,6 +238,12 @@ KeyEditor::Tab::bind (GdkEventKey* release_event, guint pressed_key)
|
||||
{
|
||||
TreeModel::iterator i = view.get_selection()->get_selected();
|
||||
|
||||
/* pressed key could be upper case if Shift was used. We want all
|
||||
single keys stored as their lower-case version, so ensure this
|
||||
*/
|
||||
|
||||
pressed_key = gdk_keyval_to_lower (pressed_key);
|
||||
|
||||
if (i == model->children().end()) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user