mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03: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:
@@ -2336,7 +2336,7 @@ ThemeTypeDialog::ThemeTypeDialog() {
|
||||
///////////////////////
|
||||
|
||||
Control *ThemeItemLabel::make_custom_tooltip(const String &p_text) const {
|
||||
return EditorHelpBitTooltip::show_tooltip(const_cast<ThemeItemLabel *>(this), p_text);
|
||||
return EditorHelpBitTooltip::make_tooltip(const_cast<ThemeItemLabel *>(this), p_text);
|
||||
}
|
||||
|
||||
VBoxContainer *ThemeTypeEditor::_create_item_list(Theme::DataType p_data_type) {
|
||||
|
||||
Reference in New Issue
Block a user