Merge pull request #63364 from nathanfranke/dep-editor

This commit is contained in:
Rémi Verschelde 2022-07-25 11:42:30 +02:00 committed by GitHub
commit 18596f6b3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,6 +58,9 @@ void DependencyEditor::_load_pressed(Object *p_item, int p_cell, int p_button, M
search->set_title(TTR("Search Replacement For:") + " " + replacing.get_file());
// Set directory to closest existing directory.
search->set_current_dir(replacing.get_base_dir());
search->clear_filters();
List<String> ext;
ResourceLoader::get_recognized_extensions_for_type(ti->get_metadata(0), &ext);