summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorMichael Alexsander <michaelalexsander@protonmail.com>2019-12-06 07:31:42 -0300
committerMichael Alexsander <michaelalexsander@protonmail.com>2019-12-06 07:31:42 -0300
commit80dcd4423a259ed60874fb952036d18203320059 (patch)
tree3ba6e038eeb209e2caab2f406a6abe5737c5b699 /editor
parente9eea4f3ce5447fca68d60e520f925f2af94217c (diff)
Remove extra spaces from parenthesis in *FileDialog's filter menu
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_file_dialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/editor_file_dialog.cpp b/editor/editor_file_dialog.cpp
index 2db4f03859..ea01f127b3 100644
--- a/editor/editor_file_dialog.cpp
+++ b/editor/editor_file_dialog.cpp
@@ -916,16 +916,16 @@ void EditorFileDialog::update_filters() {
if (max_filters < filters.size())
all_filters += ", ...";
- filter->add_item(TTR("All Recognized") + " ( " + all_filters + " )");
+ filter->add_item(TTR("All Recognized") + " (" + all_filters + ")");
}
for (int i = 0; i < filters.size(); i++) {
String flt = filters[i].get_slice(";", 0).strip_edges();
String desc = filters[i].get_slice(";", 1).strip_edges();
if (desc.length())
- filter->add_item(desc + " ( " + flt + " )");
+ filter->add_item(desc + " (" + flt + ")");
else
- filter->add_item("( " + flt + " )");
+ filter->add_item("(" + flt + ")");
}
filter->add_item(TTR("All Files (*)"));