From 656cdf121a76fd1b1b7ead48a684266bd6ddc045 Mon Sep 17 00:00:00 2001 From: stmSi Date: Sun, 26 Feb 2023 20:04:27 +0630 Subject: [PATCH] Fix Filter Files shortcut input is not properly handling --- editor/editor_node.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 6fcf092834..373a53f5c6 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -391,6 +391,7 @@ void EditorNode::shortcut_input(const Ref &p_event) { } if (ED_IS_SHORTCUT("editor/filter_files", p_event)) { FileSystemDock::get_singleton()->focus_on_filter(); + get_tree()->get_root()->set_input_as_handled(); } if (ED_IS_SHORTCUT("editor/editor_2d", p_event)) {