summaryrefslogtreecommitdiff
path: root/altosui/AltosFlightStatus.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-05-27 23:42:52 -0700
committerKeith Packard <keithp@keithp.com>2017-05-27 23:42:52 -0700
commite4407afb514437ccd8db79ae29c6fa203140fa07 (patch)
tree73617e0eccfb5e0476ad57022bb5a0967d429ce5 /altosui/AltosFlightStatus.java
parentc0af53c03d7945f7400496216ee259d73fb04843 (diff)
altoslib: Recover from a couple of API changes
Nothing serious. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosFlightStatus.java')
-rw-r--r--altosui/AltosFlightStatus.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/altosui/AltosFlightStatus.java b/altosui/AltosFlightStatus.java
index 26f0379a..2ff76870 100644
--- a/altosui/AltosFlightStatus.java
+++ b/altosui/AltosFlightStatus.java
@@ -93,14 +93,14 @@ public class AltosFlightStatus extends JComponent implements AltosFlightDisplay
}
void show(AltosState state, AltosListenerState listener_state) {
- if (!same_call(state.callsign)) {
+ if (!same_call(state.cal_data.callsign)) {
show();
- value.setText(state.callsign);
- if (state.callsign == null)
+ value.setText(state.cal_data.callsign);
+ if (state.cal_data.callsign == null)
setVisible(false);
else
setVisible(true);
- last_call = state.callsign;
+ last_call = state.cal_data.callsign;
}
}