Browse Source

Ignore custom tooltip if its text is empty in signals tab

hakro 10 months ago
parent
commit
274064ae7f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/connections_dialog.cpp

+ 1 - 1
editor/connections_dialog.cpp

@@ -907,7 +907,7 @@ ConnectDialog::~ConnectDialog() {
 
 Control *ConnectionsDockTree::make_custom_tooltip(const String &p_text) const {
 	// If it's not a doc tooltip, fallback to the default one.
-	if (p_text.contains("::")) {
+	if (p_text.is_empty() || p_text.contains("::")) {
 		return nullptr;
 	}