diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-07-07 13:38:12 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-07-07 13:42:27 +0200 |
commit | ba5049402a3bde4a370d6137be02f8291fba3c70 (patch) | |
tree | 4257cb0e9107ae243ea96a77dc0e4a4a9e2d434f | |
parent | 95ddc8cccc2ad14ff8731b96f3764c88d202f9d3 (diff) | |
download | redot-engine-ba5049402a3bde4a370d6137be02f8291fba3c70.tar.gz |
Export: Fix comma handling in feature list RTL
Fixes #62815.
-rw-r--r-- | editor/project_export.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/editor/project_export.cpp b/editor/project_export.cpp index 030337a4bc..ac32027219 100644 --- a/editor/project_export.cpp +++ b/editor/project_export.cpp @@ -366,16 +366,17 @@ void ProjectExportDialog::_update_feature_list() { } custom_feature_display->clear(); + String text; bool first = true; for (const String &E : fset) { - String f = E; if (!first) { - f += ", "; + text += ", "; } else { first = false; } - custom_feature_display->add_text(f); + text += E; } + custom_feature_display->add_text(text); } void ProjectExportDialog::_custom_features_changed(const String &p_text) { |