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:
commit
efefe0be95
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue