mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Merge pull request #89912 from timothyqiu/filtering
Fix wrong extension filter for dependency editor
This commit is contained in:
commit
af96671fa3
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user