diff --git a/editor/window_wrapper.cpp b/editor/window_wrapper.cpp index 16cafe57369..21b0a1a21d2 100644 --- a/editor/window_wrapper.cpp +++ b/editor/window_wrapper.cpp @@ -62,7 +62,7 @@ class ShortcutBin : public Node { if (Object::cast_to(p_event.ptr()) || Object::cast_to(p_event.ptr())) { // HACK: Propagate the window input to the editor main window to handle global shortcuts. - grandparent_window->push_unhandled_input(p_event); + grandparent_window->push_input(p_event); if (grandparent_window->is_input_handled()) { get_viewport()->set_input_as_handled();