mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
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:
@@ -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) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user