From a757fd5af53f5721a949181372548afa4757d6c9 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sat, 4 Oct 2014 00:10:03 -0700 Subject: altosui: Update 'Imperial Units' checkbox when units change If you have two graphs running, make sure the imperial units checkboxes agree. Signed-off-by: Keith Packard --- altosui/AltosGraphUI.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'altosui/AltosGraphUI.java') diff --git a/altosui/AltosGraphUI.java b/altosui/AltosGraphUI.java index 2d00fb45..df6f0540 100644 --- a/altosui/AltosGraphUI.java +++ b/altosui/AltosGraphUI.java @@ -64,6 +64,8 @@ public class AltosGraphUI extends AltosUIFrame implements AltosFontListener, Alt public void units_changed(boolean imperial_units) { if (map != null) map.units_changed(imperial_units); + if (enable != null) + enable.units_changed(imperial_units); } AltosGraphUI(AltosStateIterable states, File file) throws InterruptedException, IOException { -- cgit v1.2.3