mirror of
https://github.com/godotengine/godot.git
synced 2026-01-08 00:25:01 +03:00
Ignore custom tooltip if its text is empty in signals tab
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user