diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-02-21 23:24:20 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-02-21 23:24:20 +0100 |
commit | eb66123c2da40b26b9c758e0a36b1a21ae4a9611 (patch) | |
tree | 931bb6ea8544fae92d61317b88dba7c70a7b361d /core | |
parent | a787d5faf435eddf20270d7368c45d0f540e962e (diff) | |
download | RustAndDust-eb66123c2da40b26b9c758e0a36b1a21ae4a9611.zip RustAndDust-eb66123c2da40b26b9c758e0a36b1a21ae4a9611.tar.gz |
List: unselect on setItems()
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/rustanddust/ui/List.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/ui/List.java b/core/src/ch/asynk/rustanddust/ui/List.java index 333b124..ef4a5f9 100644 --- a/core/src/ch/asynk/rustanddust/ui/List.java +++ b/core/src/ch/asynk/rustanddust/ui/List.java @@ -48,6 +48,7 @@ public class List extends Widget public void setItems(int clipN, Collection<ListElement> items) { + this.idx = null; this.items = items; compute(); } |