Przeglądaj źródła

Merge pull request #99982 from hakro/quiet_tiptool

Ignore custom tooltip if its text is empty in signals tab
Thaddeus Crews 10 miesięcy temu
rodzic
commit
e9cbfd3dad
1 zmienionych plików z 1 dodań i 1 usunięć
  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;
 	}