Merge pull request #29498 from bruvzg/fix_line_edit_alt_keys

Fix third and fourth level (AltGr / ⌥ modifier) keys input in LineEdit.
This commit is contained in:
Rémi Verschelde 2019-06-11 11:49:44 +02:00 committed by GitHub
commit 9ec33eaee2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -539,7 +539,7 @@ void LineEdit::_gui_input(Ref<InputEvent> p_event) {
if (handled) { if (handled) {
accept_event(); accept_event();
} else if (!k->get_alt() && !k->get_command()) { } else if (!k->get_command()) {
if (k->get_unicode() >= 32 && k->get_scancode() != KEY_DELETE) { if (k->get_unicode() >= 32 && k->get_scancode() != KEY_DELETE) {
if (editable) { if (editable) {