altosui: Don't show the tracker motion value when switching units
authorKeith Packard <keithp@keithp.com>
Wed, 25 Jun 2014 03:52:34 +0000 (20:52 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 25 Jun 2014 03:58:49 +0000 (20:58 -0700)
commit7427f8bac7b3743ce0ab990612bf7168b95e22f9
tree9fe894ad6a24fc245465dd94d703a886b7e00fb5
parent6cb5955ab5aa3b42a507c4a02812cb5569b8562b
altosui: Don't show the tracker motion value when switching units

The tracker value was left enabled when hidden; the logic for deciding
whether to update it with new information used only the enabled state,
not the visible state. Set both states when hiding it to keep things
more consistent

Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosConfigUI.java