diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-03-19 18:09:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-19 18:09:46 +0100 |
commit | 81c2d7a82a805477fc716e47c93a0dfb2447260d (patch) | |
tree | 28241871d3b0610540c5624b1e972ac18813a03b | |
parent | c251ea01db289feb2f0b237eb3d865e28b0fa1cb (diff) | |
parent | e289e864d88ddd221fffa2e2b1ecdc565e522ab7 (diff) |
Merge pull request #59322 from YeldhamDev/groups_arent_bools
-rw-r--r-- | scene/gui/tab_bar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/tab_bar.cpp b/scene/gui/tab_bar.cpp index af314b9545..8128bbd11d 100644 --- a/scene/gui/tab_bar.cpp +++ b/scene/gui/tab_bar.cpp @@ -1530,7 +1530,7 @@ void TabBar::_bind_methods() { ADD_PROPERTY(PropertyInfo(Variant::INT, "max_tab_width", PROPERTY_HINT_RANGE, "0,99999,1"), "set_max_tab_width", "get_max_tab_width"); ADD_PROPERTY(PropertyInfo(Variant::BOOL, "scrolling_enabled"), "set_scrolling_enabled", "get_scrolling_enabled"); ADD_PROPERTY(PropertyInfo(Variant::BOOL, "drag_to_rearrange_enabled"), "set_drag_to_rearrange_enabled", "get_drag_to_rearrange_enabled"); - ADD_PROPERTY(PropertyInfo(Variant::BOOL, "tabs_rearrange_group"), "set_tabs_rearrange_group", "get_tabs_rearrange_group"); + ADD_PROPERTY(PropertyInfo(Variant::INT, "tabs_rearrange_group"), "set_tabs_rearrange_group", "get_tabs_rearrange_group"); ADD_PROPERTY(PropertyInfo(Variant::BOOL, "scroll_to_selected"), "set_scroll_to_selected", "get_scroll_to_selected"); ADD_PROPERTY(PropertyInfo(Variant::BOOL, "select_with_rmb"), "set_select_with_rmb", "get_select_with_rmb"); |