diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2016-07-22 17:24:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-22 17:24:34 +0200 |
commit | 5182fe2ef9c3a862362866546ffd2cdd6149cd8c (patch) | |
tree | 13505378f110112f7b248decfb72a23740a8bd3e | |
parent | b1df9e016cb8b7dac7499149f3f7d2a10575b133 (diff) | |
parent | 1a1342670ea75d36aca704d0f05acb292c29fc4c (diff) |
Merge pull request #5860 from 29jm/fix-itemlist-separators
Fix ItemList.clear() not removing separators
-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 712e929745..105d919338 100644 --- a/scene/gui/item_list.cpp +++ b/scene/gui/item_list.cpp @@ -336,6 +336,7 @@ void ItemList::clear(){ current=-1; ensure_selected_visible=false; update(); + shape_changed=true; defer_select_single=-1; } |