From e1ee838d11dbe1d154bd21d9b74e14bd48105628 Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Tue, 26 Mar 2024 23:51:30 +0800 Subject: [PATCH] Fix wrong extension filter for dependency editor --- editor/dependency_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/dependency_editor.cpp b/editor/dependency_editor.cpp index a178f8e3ec0..8c3cad3e890 100644 --- a/editor/dependency_editor.cpp +++ b/editor/dependency_editor.cpp @@ -66,7 +66,7 @@ void DependencyEditor::_load_pressed(Object *p_item, int p_cell, int p_button, M List 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(); }