summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorJohan Manuel <johan.manuel@live.fr>2016-07-22 16:38:16 +0200
committerJohan Manuel <johan.manuel@live.fr>2016-07-22 16:45:57 +0200
commit1a1342670ea75d36aca704d0f05acb292c29fc4c (patch)
tree13505378f110112f7b248decfb72a23740a8bd3e /scene
parentb1df9e016cb8b7dac7499149f3f7d2a10575b133 (diff)
Fix ItemList.clear() not removing separators
Diffstat (limited to 'scene')
-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;
}