From 8c4c2bceabbedf511cf3bc359b66dd57d013ab92 Mon Sep 17 00:00:00 2001 From: Eric M Date: Sat, 8 Aug 2020 14:15:46 +1000 Subject: [PATCH] Added search box to signals dock. Also made localised code changes for better documentation and readability. --- editor/connections_dialog.cpp | 53 ++++++++++++++++++++++++----------- editor/connections_dialog.h | 3 ++ 2 files changed, 40 insertions(+), 16 deletions(-) diff --git a/editor/connections_dialog.cpp b/editor/connections_dialog.cpp index facd57418d..fdaa66e8dc 100644 --- a/editor/connections_dialog.cpp +++ b/editor/connections_dialog.cpp @@ -528,6 +528,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. @@ -903,6 +907,7 @@ void ConnectionsDock::update_tree() { String name; if (!did_script) { + // Get script signals (including signals from any base scripts). Ref