From 35cb8ff89e1c1871e7ad3383b524b2ebf82dfa3e Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Wed, 27 Jul 2016 19:32:46 +0200 Subject: LineEdit: Fix event handled as text when a mod key is pressed --- scene/gui/line_edit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/gui/line_edit.cpp b/scene/gui/line_edit.cpp index 89c235e101..fcea12fd6b 100644 --- a/scene/gui/line_edit.cpp +++ b/scene/gui/line_edit.cpp @@ -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) { -- cgit v1.2.3