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:
commit
a7c81f4275
1 changed files with 1 additions and 0 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue