You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Signals: Fix some regressions from #36426
- Fix `callable_mp` bindings to methods which used to have default arguments passed to `bind_method`. We now have to re-specify them manually when connecting. - Re-add `GroupsEditor::update_tree` binding. - Misc code quality changes along the way.
This commit is contained in:
@@ -1360,7 +1360,7 @@ EditorAssetLibrary::EditorAssetLibrary(bool p_templates_only) {
|
||||
filter->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
filter->connect("text_entered", callable_mp(this, &EditorAssetLibrary::_search_text_entered));
|
||||
search = memnew(Button(TTR("Search")));
|
||||
search->connect("pressed", callable_mp(this, &EditorAssetLibrary::_search));
|
||||
search->connect("pressed", callable_mp(this, &EditorAssetLibrary::_search), make_binds(0));
|
||||
search_hb->add_child(search);
|
||||
|
||||
if (!p_templates_only)
|
||||
|
||||
Reference in New Issue
Block a user