Ignore custom tooltip if its text is empty in signals tab

This commit is contained in:
hakro 2024-12-03 20:06:34 +01:00
parent 0f20e67d8d
commit 274064ae7f

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