Hide Control focus when given via mouse input

This commit is contained in:
Michael Alexsander 2025-09-03 20:39:18 -03:00
parent 2753d333f6
commit aeb3a45c97
No known key found for this signature in database
GPG key ID: A9C91EE110F4EABA
53 changed files with 229 additions and 105 deletions

View file

@ -66,7 +66,7 @@ void SceneCreateDialog::config(const String &p_dir) {
directory = p_dir;
root_name_edit->set_text("");
scene_name_edit->set_text("");
callable_mp((Control *)scene_name_edit, &Control::grab_focus).call_deferred();
callable_mp((Control *)scene_name_edit, &Control::grab_focus).call_deferred(false);
validation_panel->update();
Ref<EditorFeatureProfile> profile = EditorFeatureProfileManager::get_singleton()->get_current_profile();