Sort project tags before saving
This commit is contained in:
parent
d95b516d31
commit
d667402461
|
@ -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 New Issue