1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

LineEdit: Fix event handled as text when a mod key is pressed

This commit is contained in:
Ignacio Etcheverry
2016-07-27 19:32:46 +02:00
parent 542bd81e76
commit 35cb8ff89e

View File

@@ -468,7 +468,7 @@ void LineEdit::_input_event(InputEvent p_event) {
if (handled) {
accept_event();
} else {
} else if (!k.mod.alt && !k.mod.command) {
if (k.unicode>=32 && k.scancode!=KEY_DELETE) {
if (editable) {