1
0
Fork 0

Merge pull request #35233 from akien-mga/scenetree-input_event-crash

Fix crash when confirming dialogs with Return key
This commit is contained in:
Rémi Verschelde 2020-01-17 14:53:38 +01:00 committed by GitHub
commit e7ee9e01a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -423,7 +423,8 @@ void SceneTree::input_event(const Ref<InputEvent> &p_event) {
input_handled = false;
const Ref<InputEvent> &ev = p_event;
// Don't make const ref unless you can find and fix what caused GH-34691.
Ref<InputEvent> ev = p_event;
MainLoop::input_event(ev);