diff options
author | Keith Packard <keithp@keithp.com> | 2014-10-04 00:10:03 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-10-04 00:10:03 -0700 |
commit | a757fd5af53f5721a949181372548afa4757d6c9 (patch) | |
tree | ebd63f1a395eb4ff08f3e9bdc27796931430bb4c /altosui/AltosGraphUI.java | |
parent | 656d8fe17532ca6c7d1d43996f187df2f14f5395 (diff) |
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 <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosGraphUI.java')
-rw-r--r-- | altosui/AltosGraphUI.java | 2 |
1 files changed, 2 insertions, 0 deletions
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 { |