diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-11-06 22:23:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-06 22:23:54 +0100 |
commit | e62aa53b94bc79e1191b6deaa9ca8ef617fa739b (patch) | |
tree | c9da7b39b1055ab70c1a26f7e4c84e4a99585ac0 /scene | |
parent | 500863859ca34fec245cdf9ff4bc236a308904c4 (diff) | |
parent | 71e79af1f14259598e687b4b64ab935e3bd2c3e2 (diff) |
Merge pull request #33403 from codecustard/fix_itemlist_maxcolumn_update
Fixes ItemList max column update
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/item_list.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/item_list.cpp b/scene/gui/item_list.cpp index 1a0539effa..1406586361 100644 --- a/scene/gui/item_list.cpp +++ b/scene/gui/item_list.cpp @@ -411,6 +411,7 @@ void ItemList::set_max_columns(int p_amount) { ERR_FAIL_COND(p_amount < 0); max_columns = p_amount; update(); + shape_changed = true; } int ItemList::get_max_columns() const { |