From f39bee8875a0595b3d7ec7f5575d1e5eeb7544ec Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 12 Jul 2016 21:06:23 -0700 Subject: [PATCH] altosuilib: Show indicator when they switch from invalid back to valid The 'hide' value wasn't getting reset to 'false' each time the state of the indicators was checked, so indicators would get hidden and then never shown again. Signed-off-by: Keith Packard --- altosuilib/AltosUIUnitsIndicator.java | 1 + 1 file changed, 1 insertion(+) diff --git a/altosuilib/AltosUIUnitsIndicator.java b/altosuilib/AltosUIUnitsIndicator.java index dc5cb11c..d4dd18db 100644 --- a/altosuilib/AltosUIUnitsIndicator.java +++ b/altosuilib/AltosUIUnitsIndicator.java @@ -83,6 +83,7 @@ public abstract class AltosUIUnitsIndicator extends AltosUIIndicator { public void show (AltosState state, AltosListenerState listener_state) { double[] v = new double[values.length]; + hide = false; for (int i = 0; i < values.length; i++) { if (state != null) v[i] = value(state, listener_state, i); -- 2.30.2