You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Seperate filter and description in FileDialog.add_filter()
This commit is contained in:
@@ -380,7 +380,7 @@ GPUParticles2DEditorPlugin::GPUParticles2DEditorPlugin() {
|
||||
List<String> ext;
|
||||
ImageLoader::get_recognized_extensions(&ext);
|
||||
for (const String &E : ext) {
|
||||
file->add_filter("*." + E + "; " + E.to_upper());
|
||||
file->add_filter("*." + E, E.to_upper());
|
||||
}
|
||||
file->set_file_mode(EditorFileDialog::FILE_MODE_OPEN_FILE);
|
||||
toolbar->add_child(file);
|
||||
|
||||
Reference in New Issue
Block a user