altoslib, altosui: Restructured state management now does TM eeprom files
[fw/altos] / altosui / AltosFlightUI.java
index 6d010d23c14129ae53bc42ddc5149757d51e8db7..423cf10c04cd52ba35ae41cae94d4f77f446aaa9 100644 (file)
@@ -130,7 +130,7 @@ public class AltosFlightUI extends AltosUIFrame implements AltosFlightDisplay, A
                flightStatus.show(state, listener_state);
                flightInfo.show(state, listener_state);
 
-               if (state.data.companion != null) {
+               if (state.companion != null) {
                        if (!has_companion) {
                                pane.add("Companion", companion);
                                has_companion= true;