diff options
author | Kelly Thomas <kelly.thomas@hotmail.com.au> | 2018-09-03 03:33:52 +0800 |
---|---|---|
committer | Kelly Thomas <kelly.thomas@hotmail.com.au> | 2018-09-03 03:33:52 +0800 |
commit | 3dc0d17c6fffa4d1d825888a0a78766198b9d8bf (patch) | |
tree | e02d9e42551322dc8ae67cf0c04d3753d7149448 /scene | |
parent | 457108924f499b22df2438f12621a1aadbd240f1 (diff) |
Change return value of Tree.create_item() from Object to TreeItem
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/tree.h b/scene/gui/tree.h index 5af66c5faa..205cdbfb7e 100644 --- a/scene/gui/tree.h +++ b/scene/gui/tree.h @@ -516,7 +516,7 @@ protected: static void _bind_methods(); //bind helpers - Object *_create_item(Object *p_parent, int p_idx = -1) { + TreeItem *_create_item(Object *p_parent, int p_idx = -1) { return create_item(Object::cast_to<TreeItem>(p_parent), p_idx); } |