mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09: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:
parent
235a32ad11
commit
81f727b6dd
6 changed files with 12 additions and 9 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue