Browse Source

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 years ago
parent
commit
f3b95560f4
1 changed files with 1 additions and 0 deletions
  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);
 				set_title(TTR("Install Project:") + " " + zip_title);
 				get_ok()->set_text(TTR("Install & Edit"));
 				get_ok()->set_text(TTR("Install & Edit"));
+				project_name->set_text(zip_title);
 				name_container->show();
 				name_container->show();
 				install_path_container->hide();
 				install_path_container->hide();
 				rasterizer_container->hide();
 				rasterizer_container->hide();