diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-01-05 10:47:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-05 10:47:05 +0100 |
commit | 0719deea8a59f2aca29e47fe147c252bb5d004c9 (patch) | |
tree | 1f3432f17493cec73eb367c8853a9cb26efbc940 /scene | |
parent | 118f6d42acb203a728678da9d583137f2caafd43 (diff) | |
parent | f1bc5c976a19abed00c8193d6e9b5f4ba2e689c8 (diff) |
Merge pull request #56346 from pycbouh/control-treenteger
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/tree.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/tree.cpp b/scene/gui/tree.cpp index 7134d7f371..84d51effd8 100644 --- a/scene/gui/tree.cpp +++ b/scene/gui/tree.cpp @@ -4829,7 +4829,7 @@ void Tree::_bind_methods() { ClassDB::bind_method(D_METHOD("get_allow_reselect"), &Tree::get_allow_reselect); ADD_PROPERTY(PropertyInfo(Variant::INT, "columns"), "set_columns", "get_columns"); - ADD_PROPERTY(PropertyInfo(Variant::INT, "column_titles_visible"), "set_column_titles_visible", "are_column_titles_visible"); + ADD_PROPERTY(PropertyInfo(Variant::BOOL, "column_titles_visible"), "set_column_titles_visible", "are_column_titles_visible"); ADD_PROPERTY(PropertyInfo(Variant::BOOL, "allow_reselect"), "set_allow_reselect", "get_allow_reselect"); ADD_PROPERTY(PropertyInfo(Variant::BOOL, "allow_rmb_select"), "set_allow_rmb_select", "get_allow_rmb_select"); ADD_PROPERTY(PropertyInfo(Variant::BOOL, "hide_folding"), "set_hide_folding", "is_folding_hidden"); |