Merge pull request #99982 from hakro/quiet_tiptool

Ignore custom tooltip if its text is empty in signals tab
This commit is contained in:
Thaddeus Crews 2024-12-05 14:11:40 -06:00
commit e9cbfd3dad
No known key found for this signature in database
GPG key ID: 62181B86FE9E5D84

View file

@ -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;
}