mirror of https://github.com/godotengine/godot
GUI: Only cancel completion with the `ui_cancel` action
This commit is contained in:
parent
506d6e427a
commit
93ae8d8f0d
|
|
@ -570,10 +570,6 @@ void CodeEdit::gui_input(const Ref<InputEvent> &p_gui_input) {
|
||||||
} else {
|
} else {
|
||||||
update_code_completion = (allow_unicode_handling && k->get_unicode() >= 32);
|
update_code_completion = (allow_unicode_handling && k->get_unicode() >= 32);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!update_code_completion) {
|
|
||||||
cancel_code_completion();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* MISC */
|
/* MISC */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue