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/asset_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/asset_library_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/asset_library_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/asset_library_editor_plugin.cpp b/editor/plugins/asset_library_editor_plugin.cpp index 12ab9e3b61..f8d7f588eb 100644 --- a/editor/plugins/asset_library_editor_plugin.cpp +++ b/editor/plugins/asset_library_editor_plugin.cpp @@ -1584,7 +1584,7 @@ EditorAssetLibrary::EditorAssetLibrary(bool p_templates_only) { asset_open = memnew(EditorFileDialog); asset_open->set_access(EditorFileDialog::ACCESS_FILESYSTEM); - asset_open->add_filter("*.zip ; " + TTR("Assets ZIP File")); + asset_open->add_filter("*.zip", TTR("Assets ZIP File")); asset_open->set_file_mode(EditorFileDialog::FILE_MODE_OPEN_FILE); add_child(asset_open); asset_open->connect("file_selected", callable_mp(this, &EditorAssetLibrary::_asset_file_selected)); |