Fix third and fourth level (AltGr / ⌥ modifier) keys input in LineEdit.

(cherry picked from commit 63d8dc0920)
This commit is contained in:
bruvzg 2019-06-05 11:43:32 +03:00 committed by Rémi Verschelde
parent cb394082ef
commit dce7311aa5
1 changed files with 1 additions and 1 deletions

View File

@ -505,7 +505,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) {