diff --git a/editor/connections_dialog.cpp b/editor/connections_dialog.cpp index ba3279b7f6a..5e3ab273543 100644 --- a/editor/connections_dialog.cpp +++ b/editor/connections_dialog.cpp @@ -515,6 +515,10 @@ struct _ConnectionsDockMethodInfoSort { } }; +void ConnectionsDock::_filter_changed(const String &p_text) { + update_tree(); +} + /* * Post-ConnectDialog callback for creating/editing connections. * Creates or edits connections based on state of the ConnectDialog when "Connect" is pressed. @@ -871,6 +875,7 @@ void ConnectionsDock::_bind_methods() { ClassDB::bind_method("_rmb_pressed", &ConnectionsDock::_rmb_pressed); ClassDB::bind_method("_close", &ConnectionsDock::_close); ClassDB::bind_method("_connect_pressed", &ConnectionsDock::_connect_pressed); + ClassDB::bind_method("_filter_changed", &ConnectionsDock::_filter_changed); ClassDB::bind_method("update_tree", &ConnectionsDock::update_tree); } @@ -903,7 +908,7 @@ void ConnectionsDock::update_tree() { String name; if (!did_script) { - + // Get script signals (including signals from any base scripts). Ref