projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altosui: Display current altitude in monitor idle Pad tab
[fw/altos]
/
altosui
/
AltosFlightStatus.java
diff --git
a/altosui/AltosFlightStatus.java
b/altosui/AltosFlightStatus.java
index 26f0379a71148c92675cdc9dc8169b1fb13827ed..2ff768700e029960dfe38e41a9b7d8d6f6708d5d 100644
(file)
--- 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) {
}
void show(AltosState state, AltosListenerState listener_state) {
- if (!same_call(state.callsign)) {
+ if (!same_call(state.cal
_data.cal
lsign)) {
show();
show();
- value.setText(state.callsign);
- if (state.callsign == null)
+ value.setText(state.cal
_data.cal
lsign);
+ if (state.cal
_data.cal
lsign == null)
setVisible(false);
else
setVisible(true);
setVisible(false);
else
setVisible(true);
- last_call = state.callsign;
+ last_call = state.cal
_data.cal
lsign;
}
}
}
}