Fixed project name line edit focus lost when open project-create dialog.

This also select default project name text for convenience.
This commit is contained in:
qichunren 2018-11-26 15:56:34 +08:00
parent 815557c812
commit 1986cc1118

View File

@ -745,7 +745,8 @@ public:
get_ok()->set_text(TTR("Create & Edit"));
name_container->show();
install_path_container->hide();
project_name->grab_focus();
project_name->call_deferred("grab_focus");
project_name->call_deferred("select_all");
} else if (mode == MODE_INSTALL) {