summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-02-21 23:24:20 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-02-21 23:24:20 +0100
commiteb66123c2da40b26b9c758e0a36b1a21ae4a9611 (patch)
tree931bb6ea8544fae92d61317b88dba7c70a7b361d /core/src/ch/asynk
parenta787d5faf435eddf20270d7368c45d0f540e962e (diff)
downloadRustAndDust-eb66123c2da40b26b9c758e0a36b1a21ae4a9611.zip
RustAndDust-eb66123c2da40b26b9c758e0a36b1a21ae4a9611.tar.gz
List: unselect on setItems()
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r--core/src/ch/asynk/rustanddust/ui/List.java1
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();
}