Skip to content

Commit

Permalink
Fix wrong extension filter for dependency editor
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyqiu committed Mar 26, 2024
1 parent 7d151c8 commit e1ee838
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 e1ee838

Please sign in to comment.