summaryrefslogtreecommitdiff
path: root/scene/gui/tree.cpp
diff options
context:
space:
mode:
authordankan1890 <mewuidev2@gmail.com>2019-10-06 22:07:50 +0200
committerdankan1890 <mewuidev2@gmail.com>2019-10-06 22:07:50 +0200
commitb469ff17e2e1171f50a279198a768857192c7d1a (patch)
treed62eb76bf38516f88cea4c5010aa0076f808598b /scene/gui/tree.cpp
parent7801fdfedb1298f46c7031ff92deb9c276eec11c (diff)
Added missing bind_method to TreeItem::get_custom_color().
Fix #32595
Diffstat (limited to 'scene/gui/tree.cpp')
-rw-r--r--scene/gui/tree.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/tree.cpp b/scene/gui/tree.cpp
index 1b52796dc7..c9d1295557 100644
--- a/scene/gui/tree.cpp
+++ b/scene/gui/tree.cpp
@@ -827,6 +827,7 @@ void TreeItem::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_custom_color", "column", "color"), &TreeItem::set_custom_color);
ClassDB::bind_method(D_METHOD("clear_custom_color", "column"), &TreeItem::clear_custom_color);
+ ClassDB::bind_method(D_METHOD("get_custom_color", "column"), &TreeItem::get_custom_color);
ClassDB::bind_method(D_METHOD("set_custom_bg_color", "column", "color", "just_outline"), &TreeItem::set_custom_bg_color, DEFVAL(false));
ClassDB::bind_method(D_METHOD("clear_custom_bg_color", "column"), &TreeItem::clear_custom_bg_color);