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

This commit is contained in:
bruvzg 2019-06-05 11:43:32 +03:00
parent 197b65f32a
commit 63d8dc0920
No known key found for this signature in database
GPG key ID: 89DD917D9CE4218D

View file

@ -539,7 +539,7 @@ void LineEdit::_gui_input(Ref<InputEvent> p_event) {
if (handled) {
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 (editable) {