Merge pull request #5941 from neikeq/pr-regression-5271

LineEdit: Fix event handled as text when a mod key is pressed
This commit is contained in:
Rémi Verschelde 2016-07-27 19:44:25 +02:00 committed by GitHub
commit 8a01655db5

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) {