mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 07:53:26 +00:00
Fix tag name focus
This commit is contained in:
parent
4a1c1c483b
commit
56e62869fb
1 changed files with 1 additions and 1 deletions
|
@ -1842,7 +1842,7 @@ ProjectManager::ProjectManager() {
|
|||
new_tag_name->connect(SceneStringName(text_changed), callable_mp(this, &ProjectManager::_set_new_tag_name));
|
||||
new_tag_name->connect(SceneStringName(text_submitted), callable_mp(this, &ProjectManager::_create_new_tag).unbind(1));
|
||||
create_tag_dialog->connect("about_to_popup", callable_mp(new_tag_name, &LineEdit::clear));
|
||||
create_tag_dialog->connect("about_to_popup", callable_mp((Control *)new_tag_name, &Control::grab_focus), CONNECT_DEFERRED);
|
||||
create_tag_dialog->connect("about_to_popup", callable_mp((Control *)new_tag_name, &Control::grab_focus).bind(false), CONNECT_DEFERRED);
|
||||
|
||||
tag_error = memnew(Label);
|
||||
tag_error->set_focus_mode(FOCUS_ACCESSIBILITY);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue