Merge pull request #73981 from stmSi/fix-filter-files-shortcut-input-not-handling

Fix Filter Files shortcut input is not properly handled
This commit is contained in:
Rémi Verschelde 2023-10-30 16:25:24 +01:00
commit a7c81f4275
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -315,6 +315,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)) {