diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-07-13 14:07:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-13 14:07:50 +0200 |
commit | fcc9dab73be2267032650f1ea3923aaf34cd3b98 (patch) | |
tree | 9cfabb7478eb8a23867fd74e1862cd0261c081ff /editor/plugins/mesh_library_editor_plugin.cpp | |
parent | 01f910517d5e3a06bf003441ca2cc65786ba15dd (diff) | |
parent | af19501cc71019add82a80bf150146f1d308892d (diff) |
Merge pull request #62748 from fire-forge/filedialog_filter
Seperate `filter` and `description` arguments in `EditorFileDialog/FileDialog.add_filter()`
Diffstat (limited to 'editor/plugins/mesh_library_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/mesh_library_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/mesh_library_editor_plugin.cpp b/editor/plugins/mesh_library_editor_plugin.cpp index 914ccb54c1..deac3ec6e9 100644 --- a/editor/plugins/mesh_library_editor_plugin.cpp +++ b/editor/plugins/mesh_library_editor_plugin.cpp @@ -263,7 +263,7 @@ MeshLibraryEditor::MeshLibraryEditor() { file->clear_filters(); file->set_title(TTR("Import Scene")); for (int i = 0; i < extensions.size(); i++) { - file->add_filter("*." + extensions[i] + " ; " + extensions[i].to_upper()); + file->add_filter("*." + extensions[i], extensions[i].to_upper()); } add_child(file); file->connect("file_selected", callable_mp(this, &MeshLibraryEditor::_import_scene_cbk)); |