From 1a1342670ea75d36aca704d0f05acb292c29fc4c Mon Sep 17 00:00:00 2001 From: Johan Manuel Date: Fri, 22 Jul 2016 16:38:16 +0200 Subject: Fix ItemList.clear() not removing separators --- scene/gui/item_list.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'scene/gui') 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; } -- cgit v1.2.3