summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorKelly Thomas <kelly.thomas@hotmail.com.au>2018-09-03 03:33:52 +0800
committerKelly Thomas <kelly.thomas@hotmail.com.au>2018-09-03 03:33:52 +0800
commit3dc0d17c6fffa4d1d825888a0a78766198b9d8bf (patch)
treee02d9e42551322dc8ae67cf0c04d3753d7149448 /scene/gui
parent457108924f499b22df2438f12621a1aadbd240f1 (diff)
Change return value of Tree.create_item() from Object to TreeItem
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/tree.h2
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);
}