Merge pull request #78775 from aaronfranke/proj-tag-sort
Sort project tags before saving
This commit is contained in:
commit
2935a2b1de
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue