projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
013e9cc
)
altosui: Fix the 'Graph' button on the landed tab
author
Keith Packard
<keithp@keithp.com>
Fri, 11 Jul 2014 00:26:19 +0000
(17:26 -0700)
committer
Keith Packard
<keithp@keithp.com>
Fri, 11 Jul 2014 00:35:44 +0000
(17:35 -0700)
It hasn't been getting enabled since the state tabs were rewritten.
Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosLanded.java
patch
|
blob
|
history
diff --git
a/altosui/AltosLanded.java
b/altosui/AltosLanded.java
index 50c1ea31fe9e3105b8134fdd8ba1d01404f71084..7c50adacba874d053c892e913277dc71330083d0 100644
(file)
--- a/
altosui/AltosLanded.java
+++ b/
altosui/AltosLanded.java
@@
-151,6
+151,12
@@
public class AltosLanded extends AltosUIFlightTab implements ActionListener {
return "Landed";
}
+ public void show(AltosState state, AltosListenerState listener_state) {
+ super.show(state, listener_state);
+ if (reader.backing_file() != null)
+ graph.setEnabled(true);
+ }
+
public AltosLanded(AltosFlightReader in_reader) {
reader = in_reader;