Skip to content

Commit

Permalink
Merge pull request #73981 from stmSi/fix-filter-files-shortcut-input-…
Browse files Browse the repository at this point in the history
…not-handling

Fix Filter Files shortcut input is not properly handled
  • Loading branch information
akien-mga committed Oct 30, 2023
2 parents 5dc10b5 + 656cdf1 commit a7c81f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions editor/editor_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit a7c81f4

Please sign in to comment.