diff options
author | Nathan Franke <me@nathan.sh> | 2022-09-13 15:09:16 -0500 |
---|---|---|
committer | Nathan Franke <me@nathan.sh> | 2022-11-29 18:09:16 -0600 |
commit | 4581662addd284254bcff686c0a491977b5cc370 (patch) | |
tree | c94c0047e24bb3ea77bb8921298b2060192610a6 | |
parent | 5826e960143fd416e0d02cf8f672d778f56da9ea (diff) |
print each migrated project path instead of always printing "migrating" when there are none
-rw-r--r-- | editor/project_manager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index b7cca72624..249504b6e8 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -1253,7 +1253,6 @@ void ProjectList::migrate_config() { if (FileAccess::exists(_config_path)) { return; } - print_line("Migrating legacy project list"); List<PropertyInfo> properties; EditorSettings::get_singleton()->get_property_list(&properties); @@ -1266,6 +1265,8 @@ void ProjectList::migrate_config() { } String path = EDITOR_GET(property_key); + print_line("Migrating legacy project '" + path + "'."); + String favoriteKey = "favorite_projects/" + property_key.get_slice("/", 1); bool favorite = EditorSettings::get_singleton()->has_setting(favoriteKey); add_project(path, favorite); |