You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
[Scene] Add SceneStringNames::text/value_changed
This commit is contained in:
@@ -1601,7 +1601,7 @@ EditorAssetLibrary::EditorAssetLibrary(bool p_templates_only) {
|
||||
filter->set_clear_button_enabled(true);
|
||||
search_hb->add_child(filter);
|
||||
filter->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
filter->connect("text_changed", callable_mp(this, &EditorAssetLibrary::_search_text_changed));
|
||||
filter->connect(SceneStringName(text_changed), callable_mp(this, &EditorAssetLibrary::_search_text_changed));
|
||||
|
||||
// Perform a search automatically if the user hasn't entered any text for a certain duration.
|
||||
// This way, the user doesn't need to press Enter to initiate their search.
|
||||
|
||||
Reference in New Issue
Block a user