Skip to content

Commit

Permalink
Set a default value for project name when installing a project.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gaisama authored and myhalibobo committed Sep 3, 2019
1 parent b06f698 commit 1a20456
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions editor/project_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -765,6 +765,7 @@ class ProjectDialog : public ConfirmationDialog {

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();
Expand Down

0 comments on commit 1a20456

Please sign in to comment.