Skip to content

Commit

Permalink
Merge pull request #89912 from timothyqiu/filtering
Browse files Browse the repository at this point in the history
Fix wrong extension filter for dependency editor
  • Loading branch information
akien-mga committed Mar 28, 2024
2 parents 4e4bc3b + e1ee838 commit af96671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/dependency_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ void DependencyEditor::_load_pressed(Object *p_item, int p_cell, int p_button, M
List<String> ext;
ResourceLoader::get_recognized_extensions_for_type(ti->get_metadata(0), &ext);
for (const String &E : ext) {
search->add_filter("*" + E);
search->add_filter("*." + E);
}
search->popup_file_dialog();
}
Expand Down

0 comments on commit af96671

Please sign in to comment.