summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgaisama <>2019-07-05 15:11:46 -0400
committergaisama <>2019-07-10 18:40:29 -0400
commitf3b95560f4c44876507b76a2c5fa99d4b09ad306 (patch)
tree0616adc420cc17fdd58c2d303a54af2a28f3a795
parent3676100964c79fe8ddf84e6baf35f73f2505a6d2 (diff)
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.
-rw-r--r--editor/project_manager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp
index 4b3d468a61..e013aae164 100644
--- a/editor/project_manager.cpp
+++ b/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();