diff options
author | Keith Packard <keithp@keithp.com> | 2011-08-08 18:51:16 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-08-08 18:51:16 -0700 |
commit | d4cc16e111229b02d1081e2693ace0b33f662498 (patch) | |
tree | 3aaf0e93b98abab53d37d25c5c754713d4aaa58e /altosui/AltosFlightUI.java | |
parent | 81bb6f42d8b859195ea5a35806c42d98ba82e8e1 (diff) |
altosui: Save frequency after setting it in AltosFlightUI
Otherwise we'll just save the old frequency.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosFlightUI.java')
-rw-r--r-- | altosui/AltosFlightUI.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/altosui/AltosFlightUI.java b/altosui/AltosFlightUI.java index 8c3f821e..c31e02bf 100644 --- 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; |