Merge pull request #76964 from aaronfranke/addon-sort
Sort the list of addons before saving them
This commit is contained in:
commit
e4f81fb79e
|
@ -3302,6 +3302,7 @@ void EditorNode::_update_addon_config() {
|
||||||
if (enabled_addons.size() == 0) {
|
if (enabled_addons.size() == 0) {
|
||||||
ProjectSettings::get_singleton()->set("editor_plugins/enabled", Variant());
|
ProjectSettings::get_singleton()->set("editor_plugins/enabled", Variant());
|
||||||
} else {
|
} else {
|
||||||
|
enabled_addons.sort();
|
||||||
ProjectSettings::get_singleton()->set("editor_plugins/enabled", enabled_addons);
|
ProjectSettings::get_singleton()->set("editor_plugins/enabled", enabled_addons);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue