Skip to content

Commit ef496a4

Browse files
committed
Merge pull request #111085 from KoBeWi/focus_tagger
Fix tag name focus
2 parents 127c2a3 + 56e6286 commit ef496a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/project_manager/project_manager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1842,7 +1842,7 @@ ProjectManager::ProjectManager() {
18421842
new_tag_name->connect(SceneStringName(text_changed), callable_mp(this, &ProjectManager::_set_new_tag_name));
18431843
new_tag_name->connect(SceneStringName(text_submitted), callable_mp(this, &ProjectManager::_create_new_tag).unbind(1));
18441844
create_tag_dialog->connect("about_to_popup", callable_mp(new_tag_name, &LineEdit::clear));
1845-
create_tag_dialog->connect("about_to_popup", callable_mp((Control *)new_tag_name, &Control::grab_focus), CONNECT_DEFERRED);
1845+
create_tag_dialog->connect("about_to_popup", callable_mp((Control *)new_tag_name, &Control::grab_focus).bind(false), CONNECT_DEFERRED);
18461846

18471847
tag_error = memnew(Label);
18481848
tag_error->set_focus_mode(FOCUS_ACCESSIBILITY);

0 commit comments

Comments
 (0)