diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-12-06 23:13:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-06 23:13:53 +0100 |
commit | 6c6ee8fe41f2aa4de7fb7af0de27a6267d7996a1 (patch) | |
tree | 49a0445c7b52a0045f2aa328f7678512b0a69dfe /scene | |
parent | c5c320412f9f26a13ff8cade56ed80ce6d97f11f (diff) | |
parent | 80dcd4423a259ed60874fb952036d18203320059 (diff) |
Merge pull request #34141 from YeldhamDev/filediag_parenthesis_space_removal
Remove extra spaces from parenthesis in *FileDialog's filter menu
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/file_dialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/gui/file_dialog.cpp b/scene/gui/file_dialog.cpp index 6400061309..a76e99f304 100644 --- a/scene/gui/file_dialog.cpp +++ b/scene/gui/file_dialog.cpp @@ -567,16 +567,16 @@ void FileDialog::update_filters() { if (max_filters < filters.size()) all_filters += ", ..."; - filter->add_item(RTR("All Recognized") + " ( " + all_filters + " )"); + filter->add_item(RTR("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(String(tr(desc)) + " ( " + flt + " )"); + filter->add_item(String(tr(desc)) + " (" + flt + ")"); else - filter->add_item("( " + flt + " )"); + filter->add_item("(" + flt + ")"); } filter->add_item(RTR("All Files (*)")); |