summaryrefslogtreecommitdiff
path: root/altosui/AltosIdleMonitorUI.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-04-09 00:38:25 -0700
committerKeith Packard <keithp@keithp.com>2013-04-09 00:38:25 -0700
commit07fb6efc54b8575627572a2113bdbc62914bafb5 (patch)
tree9e2164471d62be16efdccbe8a224587f5049c4e9 /altosui/AltosIdleMonitorUI.java
parent398c02b945a58634c8932f07df2c2be8438da7d1 (diff)
altoslib/altosui: Adapt monitor idle to new AltosListenerState
Move the receiver battery monitoring to the new spot Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosIdleMonitorUI.java')
-rw-r--r--altosui/AltosIdleMonitorUI.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/altosui/AltosIdleMonitorUI.java b/altosui/AltosIdleMonitorUI.java
index 1ef30f0a..bbab017f 100644
--- a/altosui/AltosIdleMonitorUI.java
+++ b/altosui/AltosIdleMonitorUI.java
@@ -74,10 +74,10 @@ public class AltosIdleMonitorUI extends AltosUIFrame implements AltosFlightDispl
}
}
- public void update(final AltosState state) {
+ public void update(final AltosState state, final AltosListenerState listener_state) {
Runnable r = new Runnable() {
public void run() {
- show(state, null);
+ show(state, listener_state);
}
};
SwingUtilities.invokeLater(r);