فهرست منبع

Merge pull request #99982 from hakro/quiet_tiptool

Ignore custom tooltip if its text is empty in signals tab
Thaddeus Crews 10 ماه پیش
والد
کامیت
e9cbfd3dad
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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;
 	}