projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81bb6f4
)
altosui: Save frequency after setting it in AltosFlightUI
author
Keith Packard
<keithp@keithp.com>
Tue, 9 Aug 2011 01:51:16 +0000
(18:51 -0700)
committer
Keith Packard
<keithp@keithp.com>
Tue, 9 Aug 2011 01:51:16 +0000
(18:51 -0700)
Otherwise we'll just save the old frequency.
Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosFlightUI.java
patch
|
blob
|
history
diff --git
a/altosui/AltosFlightUI.java
b/altosui/AltosFlightUI.java
index 8c3f821e6c96db559153196a5bcb1e5bcb8bf813..c31e02bf095ad695267444027da9481e90112ed3 100644
(file)
--- a/
altosui/AltosFlightUI.java
+++ b/
altosui/AltosFlightUI.java
@@
-147,12
+147,12
@@
public class AltosFlightUI extends JFrame implements AltosFlightDisplay {
frequencies.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
double frequency = frequencies.frequency();
- reader.save_frequency();
try {
reader.set_frequency(frequency);
} catch (TimeoutException te) {
} catch (InterruptedException ie) {
}
+ reader.save_frequency();
}
});
c.gridx = 0;