Merge pull request #23982 from qichunren/fixed_line_edit_lost_focus_when_create_new_project

Fixed project name line edit focus lost when open project-create dialog.
This commit is contained in:
Rémi Verschelde 2018-12-06 14:06:43 +01:00 committed by GitHub
commit efefe0be95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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) {