diff options
author | Johan Manuel <johan.manuel@live.fr> | 2016-07-22 16:38:16 +0200 |
---|---|---|
committer | Johan Manuel <johan.manuel@live.fr> | 2016-07-22 16:45:57 +0200 |
commit | 1a1342670ea75d36aca704d0f05acb292c29fc4c (patch) | |
tree | 13505378f110112f7b248decfb72a23740a8bd3e /scene/gui/item_list.cpp | |
parent | b1df9e016cb8b7dac7499149f3f7d2a10575b133 (diff) |
Fix ItemList.clear() not removing separators
Diffstat (limited to 'scene/gui/item_list.cpp')
-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; } |