Export: Fix comma handling in feature list RTL

Fixes #62815.
This commit is contained in:
Rémi Verschelde 2022-07-07 13:38:12 +02:00
parent 95ddc8cccc
commit ba5049402a
1 changed files with 4 additions and 3 deletions

View File

@ -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) {