projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altoslib/altosui: Further AltosState transition work
[fw/altos]
/
altosui
/
AltosFlightUI.java
diff --git
a/altosui/AltosFlightUI.java
b/altosui/AltosFlightUI.java
index 6d010d23c14129ae53bc42ddc5149757d51e8db7..1c450ce3c8ef0dd9aadf472599f32a361b08dc39 100644
(file)
--- a/
altosui/AltosFlightUI.java
+++ b/
altosui/AltosFlightUI.java
@@
-102,7
+102,7
@@
public class AltosFlightUI extends AltosUIFrame implements AltosFlightDisplay, A
status_update.saved_state = state;
if (state == null)
status_update.saved_state = state;
if (state == null)
- state = new AltosState(
new AltosRecord()
);
+ state = new AltosState();
pad.show(state, listener_state);
pad.show(state, listener_state);
@@
-130,7
+130,7
@@
public class AltosFlightUI extends AltosUIFrame implements AltosFlightDisplay, A
flightStatus.show(state, listener_state);
flightInfo.show(state, listener_state);
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;
if (!has_companion) {
pane.add("Companion", companion);
has_companion= true;