From c62302a4321323625a00ba0f3e474db8a74e012f Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Fri, 16 Aug 2019 22:30:31 +0200 Subject: Improve the scene tree signals/groups tooltip The tooltip now displays the number of connections and groups that are assigned to the hovered node. --- core/object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/object.h') diff --git a/core/object.h b/core/object.h index 15c3ab94c5..ac8620757c 100644 --- a/core/object.h +++ b/core/object.h @@ -707,7 +707,7 @@ public: void get_signal_list(List *p_signals) const; void get_signal_connection_list(const StringName &p_signal, List *p_connections) const; void get_all_signal_connections(List *p_connections) const; - bool has_persistent_signal_connections() const; + int get_persistent_signal_connection_count() const; void get_signals_connected_to_this(List *p_connections) const; Error connect(const StringName &p_signal, Object *p_to_object, const StringName &p_to_method, const Vector &p_binds = Vector(), uint32_t p_flags = 0); -- cgit v1.2.3