Fix Filter Files shortcut input is not properly handling

This commit is contained in:
stmSi 2023-02-26 20:04:27 +06:30
parent 84a80721c5
commit 656cdf121a

View File

@ -391,6 +391,7 @@ void EditorNode::shortcut_input(const Ref<InputEvent> &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)) {