diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2016-07-27 19:32:46 +0200 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2016-07-27 19:32:46 +0200 |
commit | 35cb8ff89e1c1871e7ad3383b524b2ebf82dfa3e (patch) | |
tree | 27644b4092ad01b678971040a6b22a692ea68109 /scene | |
parent | 542bd81e760c4fcd271e95120978f6ddfa730ad5 (diff) |
LineEdit: Fix event handled as text when a mod key is pressed
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/line_edit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |