Kaynağa Gözat

Set a default value for project name when installing a project.

If I download a template named KewlGame, we should not force the user to have to type that name in order to complete the installation process.  The user can still rename it if they wish to but we should be providing a default value.  This quality of life enhancement will improve the workflow for newcomers to Godot who typically attempt to install a template as their first action within the program.
gaisama 6 yıl önce
ebeveyn
işleme
f3b95560f4
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      editor/project_manager.cpp

+ 1 - 0
editor/project_manager.cpp

@@ -765,6 +765,7 @@ public:
 
 				set_title(TTR("Install Project:") + " " + zip_title);
 				get_ok()->set_text(TTR("Install & Edit"));
+				project_name->set_text(zip_title);
 				name_container->show();
 				install_path_container->hide();
 				rasterizer_container->hide();