From eb66123c2da40b26b9c758e0a36b1a21ae4a9611 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sun, 21 Feb 2016 23:24:20 +0100 Subject: List: unselect on setItems() --- core/src/ch/asynk/rustanddust/ui/List.java | 1 + 1 file changed, 1 insertion(+) 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 items) { + this.idx = null; this.items = items; compute(); } -- cgit v1.1-2-g2b99