summaryrefslogtreecommitdiff
path: root/editor/plugins/mesh_library_editor_plugin.cpp
diff options
context:
space:
mode:
authorFireForge <67974470+fire-forge@users.noreply.github.com>2022-07-04 16:26:26 -0500
committerFireForge <67974470+fire-forge@users.noreply.github.com>2022-07-09 10:51:45 -0500
commitaf19501cc71019add82a80bf150146f1d308892d (patch)
tree5c04d765c8a2b438159d058e9a86be55afa9f644 /editor/plugins/mesh_library_editor_plugin.cpp
parentd26442e709f6361af9ac755ec9291bb43f2cd69b (diff)
Seperate filter and description in FileDialog.add_filter()
Diffstat (limited to 'editor/plugins/mesh_library_editor_plugin.cpp')
-rw-r--r--editor/plugins/mesh_library_editor_plugin.cpp2
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));