diff options
author | FireForge <67974470+fire-forge@users.noreply.github.com> | 2022-07-04 16:26:26 -0500 |
---|---|---|
committer | FireForge <67974470+fire-forge@users.noreply.github.com> | 2022-07-09 10:51:45 -0500 |
commit | af19501cc71019add82a80bf150146f1d308892d (patch) | |
tree | 5c04d765c8a2b438159d058e9a86be55afa9f644 /editor/plugins/lightmap_gi_editor_plugin.cpp | |
parent | d26442e709f6361af9ac755ec9291bb43f2cd69b (diff) |
Seperate filter and description in FileDialog.add_filter()
Diffstat (limited to 'editor/plugins/lightmap_gi_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/lightmap_gi_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/lightmap_gi_editor_plugin.cpp b/editor/plugins/lightmap_gi_editor_plugin.cpp index aef97f059a..8413c5e875 100644 --- a/editor/plugins/lightmap_gi_editor_plugin.cpp +++ b/editor/plugins/lightmap_gi_editor_plugin.cpp @@ -138,7 +138,7 @@ LightmapGIEditorPlugin::LightmapGIEditorPlugin() { file_dialog = memnew(EditorFileDialog); file_dialog->set_file_mode(EditorFileDialog::FILE_MODE_SAVE_FILE); - file_dialog->add_filter("*.lmbake ; " + TTR("LightMap Bake")); + file_dialog->add_filter("*.lmbake", TTR("LightMap Bake")); file_dialog->set_title(TTR("Select lightmap bake file:")); file_dialog->connect("file_selected", callable_mp(this, &LightmapGIEditorPlugin::_bake_select_file)); bake->add_child(file_dialog); |