You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-02 16:48:55 +00:00
Fix the returned controls of EditorHelpBitTooltip::show_tooltip() were not freed in ScriptTextEditor
The returned control is an orphan node, which is to make the standard tooltip invisible.
This commit is contained in:
@@ -4643,7 +4643,7 @@ void EditorHelpBitTooltip::_notification(int p_what) {
|
||||
}
|
||||
}
|
||||
|
||||
Control *EditorHelpBitTooltip::show_tooltip(Control *p_target, const String &p_symbol, const String &p_prologue, bool p_use_class_prefix) {
|
||||
Control *EditorHelpBitTooltip::make_tooltip(Control *p_target, const String &p_symbol, const String &p_prologue, bool p_use_class_prefix) {
|
||||
ERR_FAIL_NULL_V(p_target, _make_invisible_control());
|
||||
|
||||
// Show the custom tooltip only if it is not already visible.
|
||||
|
||||
Reference in New Issue
Block a user