altosui: Update 'Imperial Units' checkbox when units change
[fw/altos] / altosui / AltosGraphUI.java
index 2d00fb45a74be84e0198d1c7c4c8c195c8b07544..df6f05408b9aaec1ec33285f5211963a74935598 100644 (file)
@@ -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 {