LineEdit: Fix event handled as text when a mod key is pressed
This commit is contained in:
parent
542bd81e76
commit
35cb8ff89e
@ -468,7 +468,7 @@ void LineEdit::_input_event(InputEvent p_event) {
|
|||||||
|
|
||||||
if (handled) {
|
if (handled) {
|
||||||
accept_event();
|
accept_event();
|
||||||
} else {
|
} else if (!k.mod.alt && !k.mod.command) {
|
||||||
if (k.unicode>=32 && k.scancode!=KEY_DELETE) {
|
if (k.unicode>=32 && k.scancode!=KEY_DELETE) {
|
||||||
|
|
||||||
if (editable) {
|
if (editable) {
|
||||||
|
Loading…
Reference in New Issue
Block a user