1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-16 14:00:40 +00:00

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
53 changed files with 229 additions and 105 deletions

View File

@@ -485,7 +485,7 @@ void ConnectDialog::_update_warning_label() {
}
void ConnectDialog::_post_popup() {
callable_mp((Control *)dst_method, &Control::grab_focus).call_deferred();
callable_mp((Control *)dst_method, &Control::grab_focus).call_deferred(false);
callable_mp(dst_method, &LineEdit::select_all).call_deferred();
}