X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=altosuilib%2FAltosUIUnitsIndicator.java;h=d4dd18db0b2fead58625919270fdfc067de7ee6b;hp=1b900e54be306ea1cc83b212ebf72963ecb685b6;hb=238e56e0f6ab2f623e0faf25298b38dc3a4aff74;hpb=b2710128a715a109745ec40553a3d4149a7f49ab diff --git a/altosuilib/AltosUIUnitsIndicator.java b/altosuilib/AltosUIUnitsIndicator.java index 1b900e54..d4dd18db 100644 --- a/altosuilib/AltosUIUnitsIndicator.java +++ b/altosuilib/AltosUIUnitsIndicator.java @@ -3,7 +3,8 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -15,11 +16,11 @@ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -package org.altusmetrum.altosuilib_10; +package org.altusmetrum.altosuilib_11; import java.awt.*; import javax.swing.*; -import org.altusmetrum.altoslib_10.*; +import org.altusmetrum.altoslib_11.*; public abstract class AltosUIUnitsIndicator extends AltosUIIndicator { @@ -82,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);