Fix keycode mapping for backspace, enter, tab and escape
This commit is contained in:
parent
a58ed7343d
commit
8a5b4ae3a3
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ std::string keypress_to_str(int key_code, int modifier) {
|
|||
if ((modifier & wxMOD_SHIFT) != 0) combo.append("Shift-");
|
||||
}
|
||||
|
||||
if (key_code < 127)
|
||||
if (key_code > 32 && key_code < 127)
|
||||
combo += (char)key_code;
|
||||
else
|
||||
combo += keycode_name(key_code);
|
||||
|
|
Loading…
Reference in a new issue