1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Fix crash when tooltip_request_func object is freed

This commit is contained in:
Haoyu Qiu
2021-10-06 14:32:21 +08:00
parent a7ba227631
commit 45e943f4fe
2 changed files with 4 additions and 2 deletions

View File

@@ -330,7 +330,7 @@ private:
int _get_column_pos_of_word(const String &p_key, const String &p_search, uint32_t p_search_flags, int p_from_column) const;
/* Tooltip. */
Object *tooltip_obj = nullptr;
ObjectID tooltip_obj_id;
StringName tooltip_func;
Variant tooltip_ud;