Merge pull request #14013 from qichunren/fix_project_rename_lost_focus
Fixed project name line edit lost input focus in project rename dialog.
This commit is contained in:
commit
a8ae46e143
|
@ -508,7 +508,8 @@ public:
|
||||||
} else if (current->has_setting("application/config/name")) {
|
} else if (current->has_setting("application/config/name")) {
|
||||||
project_name->set_text(current->get("application/config/name"));
|
project_name->set_text(current->get("application/config/name"));
|
||||||
}
|
}
|
||||||
project_name->grab_focus();
|
|
||||||
|
project_name->call_deferred("grab_focus");
|
||||||
|
|
||||||
create_dir->hide();
|
create_dir->hide();
|
||||||
status_btn->hide();
|
status_btn->hide();
|
||||||
|
|
Loading…
Reference in New Issue