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

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