Merge pull request #78775 from aaronfranke/proj-tag-sort

Sort project tags before saving
This commit is contained in:
Rémi Verschelde 2023-07-07 16:03:53 +02:00
commit 2935a2b1de
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -2504,6 +2504,7 @@ void ProjectManager::_apply_project_tags() {
callable_mp((Window *)tag_manage_dialog, &Window::show).call_deferred(); // Make sure the dialog does not disappear.
return;
} else {
tags.sort();
cfg.set_value("application", "config/tags", tags);
err = cfg.save(project_godot);
if (err != OK) {