Sort project tags before saving

(cherry picked from commit d667402461)
This commit is contained in:
Aaron Franke 2023-06-27 18:22:33 -05:00 committed by Yuri Sizov
parent ffc87b2bb1
commit 4cec4bd32f
1 changed files with 1 additions and 0 deletions

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. callable_mp((Window *)tag_manage_dialog, &Window::show).call_deferred(); // Make sure the dialog does not disappear.
return; return;
} else { } else {
tags.sort();
cfg.set_value("application", "config/tags", tags); cfg.set_value("application", "config/tags", tags);
err = cfg.save(project_godot); err = cfg.save(project_godot);
if (err != OK) { if (err != OK) {