Sfoglia il codice sorgente

Merge pull request #65759 from nathanfranke/migrate-project-manager

Print each migrated project path instead of always printing "migrating" when there are none
Rémi Verschelde 2 anni fa
parent
commit
65692ce91c
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      editor/project_manager.cpp

+ 2 - 1
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);