summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2016-07-22 17:24:34 +0200
committerGitHub <noreply@github.com>2016-07-22 17:24:34 +0200
commit5182fe2ef9c3a862362866546ffd2cdd6149cd8c (patch)
tree13505378f110112f7b248decfb72a23740a8bd3e
parentb1df9e016cb8b7dac7499149f3f7d2a10575b133 (diff)
parent1a1342670ea75d36aca704d0f05acb292c29fc4c (diff)
Merge pull request #5860 from 29jm/fix-itemlist-separators
Fix ItemList.clear() not removing separators
-rw-r--r--scene/gui/item_list.cpp1
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;
}