1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-19 14:31:59 +00:00

Merge pull request #47636 from qarmin/input

Fix crashes in *_input functions
This commit is contained in:
Rémi Verschelde
2021-04-05 11:54:08 +02:00
committed by GitHub
43 changed files with 103 additions and 0 deletions

View File

@@ -1882,6 +1882,8 @@ void ProjectManager::_update_project_buttons() {
}
void ProjectManager::_unhandled_key_input(const Ref<InputEvent> &p_ev) {
ERR_FAIL_COND(p_ev.is_null());
Ref<InputEventKey> k = p_ev;
if (k.is_valid()) {