mirror of https://github.com/godotengine/godot
Ignore custom tooltip if its text is empty in signals tab
This commit is contained in:
parent
0f20e67d8d
commit
274064ae7f
|
|
@ -907,7 +907,7 @@ ConnectDialog::~ConnectDialog() {
|
||||||
|
|
||||||
Control *ConnectionsDockTree::make_custom_tooltip(const String &p_text) const {
|
Control *ConnectionsDockTree::make_custom_tooltip(const String &p_text) const {
|
||||||
// If it's not a doc tooltip, fallback to the default one.
|
// 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;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue