You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Update deferred calls to use Callables
This commit is contained in:
@@ -465,7 +465,7 @@ void FindInFilesDialog::_notification(int p_what) {
|
||||
case NOTIFICATION_VISIBILITY_CHANGED: {
|
||||
if (is_visible()) {
|
||||
// Doesn't work more than once if not deferred...
|
||||
_search_text_line_edit->call_deferred(SNAME("grab_focus"));
|
||||
callable_mp((Control *)_search_text_line_edit, &Control::grab_focus).call_deferred();
|
||||
_search_text_line_edit->select_all();
|
||||
// Extensions might have changed in the meantime, we clean them and instance them again.
|
||||
for (int i = 0; i < _filters_container->get_child_count(); i++) {
|
||||
|
||||
Reference in New Issue
Block a user